feat: blamer;

refactor: tab sizes;
feat: hyprlang;
refactor: git add/git restore binds
This commit is contained in:
2025-10-05 15:36:56 +03:00
parent 986512f648
commit 032634fc91
3 changed files with 70 additions and 25 deletions

View File

@@ -17,7 +17,27 @@ local enable_providers = {
-- 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
})