feat: blamer;
refactor: tab sizes; feat: hyprlang; refactor: git add/git restore binds
This commit is contained in:
@@ -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
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user