aboutsummaryrefslogtreecommitdiff
path: root/.config/nvim/lsp
diff options
context:
space:
mode:
authoriamcheeseman <[email protected]>2026-04-18 11:18:23 -0400
committeriamcheeseman <[email protected]>2026-04-18 11:18:23 -0400
commitf0bf896d1372c69d8ad7889564a28168954d8123 (patch)
treeb8d21aa614a7fb4ea14f6362a6ea314b75aad4fb /.config/nvim/lsp
parent08fa714b600045802d0ef1474291b17448dee272 (diff)
update
Diffstat (limited to '.config/nvim/lsp')
-rw-r--r--.config/nvim/lsp/clangd.lua10
-rw-r--r--.config/nvim/lsp/lua_ls.lua17
2 files changed, 27 insertions, 0 deletions
diff --git a/.config/nvim/lsp/clangd.lua b/.config/nvim/lsp/clangd.lua
new file mode 100644
index 0000000..cbe0fb3
--- /dev/null
+++ b/.config/nvim/lsp/clangd.lua
@@ -0,0 +1,10 @@
+return {
+ cmd = {"clangd", "-j=6"},
+ filetypes = {"c", "h", "cpp", "hpp", "cc", "hh"},
+ root_markers = {
+ ".clangd",
+ "compile_commands.json",
+ "compile_flags.txt",
+ ".git",
+ },
+}
diff --git a/.config/nvim/lsp/lua_ls.lua b/.config/nvim/lsp/lua_ls.lua
new file mode 100644
index 0000000..ace2329
--- /dev/null
+++ b/.config/nvim/lsp/lua_ls.lua
@@ -0,0 +1,17 @@
+return {
+ cmd = {"lua-language-server"},
+ filetypes = {"lua"},
+ root_markers = {".luarc.json", ".git"},
+ settings = {
+ Lua = {
+ runtime = {
+ version = "LuaJIT",
+ },
+ diagnostics = {
+ disable = {
+ "lowercase-global",
+ },
+ },
+ },
+ },
+}