initial commit

This commit is contained in:
hgranthorner
2026-09-14 16:09:15 -04:00
commit 0485e97fd2
13 changed files with 270 additions and 0 deletions

5
lsp/gopls.lua Normal file
View File

@@ -0,0 +1,5 @@
return {
cmd = { 'gopls' },
filetypes = { 'go' },
root_markers = { 'go.mod', '.git' },
}

24
lsp/lua_ls.lua Normal file
View File

@@ -0,0 +1,24 @@
return {
cmd = { "lua-language-server" },
filetypes = { "lua" },
root_markers = { ".luarc.json", ".luarc.jsonc", ".git" },
settings = {
Lua = {
runtime = {
version = 'LuaJIT',
},
diagnostics = {
-- Get the language server to recognize the `vim` global
globals = { 'vim' },
},
workspace = {
-- Make the server aware of Neovim runtime files
library = vim.api.nvim_get_runtime_file("", true),
checkThirdParty = false,
},
telemetry = {
enable = false,
},
},
},
}

5
lsp/ruby_lsp.lua Normal file
View File

@@ -0,0 +1,5 @@
return {
cmd = { "mise", "x", "--", "ruby-lsp" },
filetypes = { "ruby" },
root_markers = { ".git", "Gemfile" }
}

5
lsp/tsc.lua Normal file
View File

@@ -0,0 +1,5 @@
return {
cmd = { 'tsc', '--lsp', '--stdio' },
filetypes = { 'javascript', 'typescript', 'typescriptreact', 'javascriptreact' },
root_markers = { '.git', 'package.json' }
}

5
lsp/tsserver.lua Normal file
View File

@@ -0,0 +1,5 @@
return {
cmd = { "npx", "typescript-language-server", "--stdio" },
filetypes = { 'javascript', 'typescript', 'typescriptreact', 'javascriptreact' },
root_markers = { '.git', 'package.json' }
}