Compare commits

...

5 Commits

Author SHA1 Message Date
38f4c63336 Extra luals settings 2025-11-22 00:29:11 +01:00
434ff26226 Add eslint 2025-11-22 00:29:11 +01:00
af95197cb1 Update lspconfig 2025-11-22 00:29:10 +01:00
c2772d1874 Add vtsls as manual lsp 2025-11-22 00:29:10 +01:00
dd22699549 Switch default branch to main 2025-11-22 00:29:10 +01:00
5 changed files with 23 additions and 4 deletions

View File

@@ -24,7 +24,7 @@
tool = nvimdiff tool = nvimdiff
[init] [init]
defaultBranch = master defaultBranch = main
[rebase] [rebase]
autosquash = true autosquash = true

View File

@@ -25,7 +25,7 @@
"nvim-colorizer.lua": { "branch": "master", "commit": "51cf7c995ed1eb6642aecf19067ee634fa1b6ba2" }, "nvim-colorizer.lua": { "branch": "master", "commit": "51cf7c995ed1eb6642aecf19067ee634fa1b6ba2" },
"nvim-dap": { "branch": "master", "commit": "b0f983507e3702f073bfe1516846e58b56d4e42f" }, "nvim-dap": { "branch": "master", "commit": "b0f983507e3702f073bfe1516846e58b56d4e42f" },
"nvim-dap-virtual-text": { "branch": "master", "commit": "fbdb48c2ed45f4a8293d0d483f7730d24467ccb6" }, "nvim-dap-virtual-text": { "branch": "master", "commit": "fbdb48c2ed45f4a8293d0d483f7730d24467ccb6" },
"nvim-lspconfig": { "branch": "master", "commit": "d89f4891f0720cd2598e4bdd60010d8784b2ac8a" }, "nvim-lspconfig": { "branch": "master", "commit": "ac98db2f9f06a56498ec890a96928774eae412c3" },
"nvim-surround": { "branch": "main", "commit": "a868c256c861044beb9794b4dd126480dcdfbdad" }, "nvim-surround": { "branch": "main", "commit": "a868c256c861044beb9794b4dd126480dcdfbdad" },
"nvim-treesitter": { "branch": "master", "commit": "42fc28ba918343ebfd5565147a42a26580579482" }, "nvim-treesitter": { "branch": "master", "commit": "42fc28ba918343ebfd5565147a42a26580579482" },
"nvim-treesitter-textobjects": { "branch": "master", "commit": "71385f191ec06ffc60e80e6b0c9a9d5daed4824c" }, "nvim-treesitter-textobjects": { "branch": "master", "commit": "71385f191ec06ffc60e80e6b0c9a9d5daed4824c" },

View File

@@ -1,8 +1,23 @@
return { return {
settings = { settings = {
Lua = { Lua = {
workspace = { checkThirdParty = false }, workspace = {
checkThirdParty = false,
library = {
"./definitions",
},
},
telemetry = { enable = false }, telemetry = { enable = false },
type = {
checkTableShape = true,
},
diagnostics = {
neededFileStatus = {
-- ["no-unknown"] = "Opened",
-- ["incomplete-signature-doc"] = "Opened",
-- ["await-in-sync"] = "Opened",
},
},
}, },
}, },
} }

View File

@@ -148,7 +148,10 @@ vim.api.nvim_create_autocmd("LspAttach", {
end, end,
}) })
-- Manually enable rust analyzer, if installed -- Manually enable lsps, if installed
if vim.fn.executable("rust_analyzer") then if vim.fn.executable("rust_analyzer") then
vim.lsp.enable("rust_analyzer") vim.lsp.enable("rust_analyzer")
end end
if vim.fn.executable("vtsls") then
vim.lsp.enable("vtsls")
end

View File

@@ -26,6 +26,7 @@ local ensure_installed = {
"ruff", "ruff",
"prettierd", "prettierd",
"stylua", "stylua",
"eslint",
} }
--- @module "lazy" --- @module "lazy"