Refactor: Update neovim configuration

This commit refactors the neovim configuration to include several updates:

-   Added LSP support for Zig (`zls`).
-   Added `analyzer` and `zls` to `ale` linters.
-   Added `zigfmt` to `ale` fixers.
-   Added `towolf/vim-helm` as a plugin.
-   Added configuration for `lualine` to display Treesitter status.
-   Included SSH config from `conf.d/*.conf`.
-   Updated keymaps for LSP formatting.
-   Modified tabwidth and shiftwidth for rust files.
This commit is contained in:
jay
2025-04-07 12:24:11 +08:00
parent c93c4e25d7
commit 1dd35ed47a
6 changed files with 24 additions and 20 deletions
+7 -1
View File
@@ -11,7 +11,6 @@ cmd "set tabstop=2"
cmd "set shiftwidth=2"
cmd "set expandtab"
cmd "set nofoldenable"
cmd "set pastetoggle=<F2>"
-- always show status
cmd "set laststatus=2"
@@ -65,3 +64,10 @@ vim.diagnostic.get(0, { severity = {
} })
vim.diagnostic.config({virtual_text = false, signs = true})
vim.api.nvim_create_autocmd("FileType", {
pattern = "rust",
callback = function()
vim.opt_local.shiftwidth = 4
vim.opt_local.tabstop = 4
end
})