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") -- local time = tonumber(os.date "%H")
vim.filetype.add { vim.filetype.add {
pattern = {[".*/hypr/.*%.conf"] = "hyprlang", [".*/uwsm/env.*"] = "zsh"} pattern = { [".*/hypr/.*%.conf"] = "hyprlang", [".*/uwsm/env.*"] = "zsh" },
} }
vim.cmd [[colorscheme catppuccin-macchiato]] vim.cmd [[colorscheme catppuccin-macchiato]]
+19 -2
View File
@@ -5,7 +5,7 @@ local servers = {
"ts_ls", "ts_ls",
"yamlls", "yamlls",
"vimls", "vimls",
"pyright", "ruff",
"denols", "denols",
"lua_ls", "lua_ls",
"qmlls", "qmlls",
@@ -17,13 +17,13 @@ local servers = {
"nginx_language_server", "nginx_language_server",
"docker_compose_language_service", "docker_compose_language_service",
"dockerls", "dockerls",
"rust_analyzer",
"html", "html",
"cssls", "cssls",
"tailwindcss", "tailwindcss",
"jdtls", "jdtls",
"odinls", "odinls",
"powershell_es", "powershell_es",
"rust_analyzer",
} }
for _, server in ipairs(servers) do for _, server in ipairs(servers) do
@@ -32,3 +32,20 @@ for _, server in ipairs(servers) do
}) })
vim.lsp.enable(server) vim.lsp.enable(server)
end 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 }, window = { winblend = 30 },
keymaps = { keymaps = {
["j"] = "move_next", ["move_next"] = "j",
["k"] = "move_prev", ["move_prev"] = "k",
["gj"] = "move2parent", ["move2parent"] = "gj",
["J"] = "move_change_next", ["move_change_next"] = "J",
["K"] = "move_change_prev", ["move_change_prev"] = "K",
["<cr>"] = "action_enter", ["action_enter"] = "<cr>",
["p"] = "enter_diffbuf", ["enter_diffbuf"] = "p",
["q"] = "quit", ["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.spell = true
vim.opt.relativenumber = true vim.opt.relativenumber = true
vim.opt.tabstop = 4 vim.opt.tabstop = 4