Compare commits

...

7 Commits

Author SHA1 Message Date
AramJonghu a53ff4ebca stylua 2026-05-20 01:31:00 +02:00
AramJonghu 761297c7e8 ps1 linter/lsp 2026-05-20 01:28:17 +02:00
AramJonghu b46a6e8537 neoformat was formatting yml with python, causing issues 2026-05-20 00:58:53 +02:00
AramJonghu 1e21f81c50 clippy on trigger 2026-05-19 23:48:28 +02:00
AramJonghu eb9a46aa65 added clippy for rust file linting 2026-05-19 23:38:47 +02:00
AramJonghu 5baacf2a15 ruff in favor of pyright 2026-05-19 23:24:16 +02:00
AramJonghu c14eb51fad fixed deprecated syntax undotree.lua 2026-05-19 23:06:05 +02:00
7 changed files with 82 additions and 64 deletions
+1 -1
View File
@@ -7,7 +7,7 @@ vim.cmd "source ~/.config/nvim/suda.vim"
-- local time = tonumber(os.date "%H")
vim.filetype.add {
pattern = {[".*/hypr/.*%.conf"] = "hyprlang", [".*/uwsm/env.*"] = "zsh"}
pattern = { [".*/hypr/.*%.conf"] = "hyprlang", [".*/uwsm/env.*"] = "zsh" },
}
vim.cmd [[colorscheme catppuccin-macchiato]]
+19 -2
View File
@@ -5,7 +5,7 @@ local servers = {
"ts_ls",
"yamlls",
"vimls",
"pyright",
"ruff",
"denols",
"lua_ls",
"qmlls",
@@ -17,13 +17,13 @@ local servers = {
"nginx_language_server",
"docker_compose_language_service",
"dockerls",
"rust_analyzer",
"html",
"cssls",
"tailwindcss",
"jdtls",
"odinls",
"powershell_es",
"rust_analyzer",
}
for _, server in ipairs(servers) do
@@ -32,3 +32,20 @@ for _, server in ipairs(servers) do
})
vim.lsp.enable(server)
end
vim.lsp.config("powershell_es", {
capabilities = cmp_cap,
bundle_path = "/opt/powershell-editor-services",
})
vim.lsp.config("rust_analyzer", {
capabilities = cmp_cap,
settings = {
["rust-analyzer"] = {
check = {
command = "clippy",
trigger = "onType",
},
},
},
})
+1
View File
@@ -0,0 +1 @@
let g:neoformat_enabled_yaml = ['prettierd']
+8 -8
View File
@@ -12,13 +12,13 @@ require("undotree").setup {
},
window = { winblend = 30 },
keymaps = {
["j"] = "move_next",
["k"] = "move_prev",
["gj"] = "move2parent",
["J"] = "move_change_next",
["K"] = "move_change_prev",
["<cr>"] = "action_enter",
["p"] = "enter_diffbuf",
["q"] = "quit",
["move_next"] = "j",
["move_prev"] = "k",
["move2parent"] = "gj",
["move_change_next"] = "J",
["move_change_prev"] = "K",
["action_enter"] = "<cr>",
["enter_diffbuf"] = "p",
["quit"] = "q",
},
}
+1 -1
View File
@@ -1,4 +1,4 @@
vim.opt.spelllang = { "en_us", "nl"}
vim.opt.spelllang = { "en_us", "nl" }
vim.opt.spell = true
vim.opt.relativenumber = true
vim.opt.tabstop = 4