feat: implement distraction toggle script for hosts file management; feat: add privacy toggle script with status checking capability; refactor: improve grayscale toggle script with status parameter support; refactor: reorganize hyprland gestures and input configuration; chore: remove unused bspwm script and btop configuration files; chore: delete obsolete rofi-wayland launcher themes and configurations; feat: extend nvim filetype recognition for pascal scripts; feat: enhance swaync configuration with new toggle buttons and layout adjustments; chore: update waybar goal file content; chore: modify gitignore patterns for cava assets and thunar configurations; fix: adjust thunar custom actions to use swww instead of hyprpaper
49 lines
999 B
Lua
49 lines
999 B
Lua
require "nvchad.options"
|
|
|
|
-- add yours here!
|
|
|
|
-- local o = vim.o
|
|
-- o.cursorlineopt ='both' -- to enable cursorline!
|
|
|
|
local enable_providers = {
|
|
"python3_provider",
|
|
}
|
|
|
|
for _, plugin in pairs(enable_providers) do
|
|
vim.g["loaded_" .. plugin] = nil
|
|
vim.cmd("runtime " .. plugin)
|
|
end
|
|
|
|
-- disable wrap
|
|
vim.o.wrap = false
|
|
|
|
-- amount of tabs
|
|
vim.opt.tabstop = 4
|
|
vim.opt.softtabstop = 4
|
|
vim.opt.shiftwidth = 4
|
|
|
|
-- disable auto comment
|
|
vim.opt_local.formatoptions:remove("r")
|
|
|
|
vim.g.lua_snippets_path = "~/.config/nvim/lua/lua_snippets"
|
|
|
|
-- enable blamer
|
|
vim.g.blamer_enabled = true
|
|
|
|
-- Hyprlang LSP
|
|
vim.api.nvim_create_autocmd({'BufEnter', 'BufWinEnter'}, {
|
|
pattern = {"*.hl", "hypr*.conf"},
|
|
callback = function()
|
|
vim.lsp.start {
|
|
name = "hyprlang",
|
|
cmd = {"hyprls"},
|
|
root_dir = vim.fn.getcwd(),
|
|
}
|
|
end
|
|
})
|
|
|
|
-- Recognize .script files as Pascal
|
|
vim.cmd [[
|
|
autocmd BufNewFile,BufRead *.script set filetype=pascal
|
|
]]
|