Add neovim config

This commit is contained in:
Valeriy Filippov
2026-03-05 16:34:38 +03:00
commit 210e99d004
36 changed files with 845 additions and 0 deletions

28
nvim/lsp/luals.lua Normal file
View File

@@ -0,0 +1,28 @@
-- https://github.com/neovim/nvim-lspconfig/blob/master/lsp/lua_ls.lua
return {
cmd = {
"lua-language-server",
},
filetypes = {
"lua",
},
root_markers = {
".git",
".luacheckrc",
".luarc.json",
".luarc.jsonc",
".stylua.toml",
"selene.toml",
"selene.yml",
"stylua.toml",
},
settings = {
Lua = {
workspace = {
library = vim.api.nvim_get_runtime_file("", true)
}
}
},
single_file_support = true,
log_level = vim.lsp.protocol.MessageType.Warning,
}