Backup
This commit is contained in:
parent
01e4fe7095
commit
657fecfa64
16 changed files with 94 additions and 84 deletions
dotfiles/neovim/lua/my/plugins
|
@ -36,6 +36,7 @@ function M.on_attach(client, bufnr)
|
|||
end
|
||||
|
||||
-- General server config
|
||||
---@type lspconfig.options
|
||||
local servers = {
|
||||
tsserver = {
|
||||
on_attach = function(client, bufnr)
|
||||
|
@ -45,29 +46,6 @@ local servers = {
|
|||
end
|
||||
},
|
||||
dhall_lsp_server = {},
|
||||
sumneko_lua = {
|
||||
settings = {
|
||||
Lua = {
|
||||
runtime = {
|
||||
-- Tell the language server which version of Lua you're using (most likely LuaJIT in the case of Neovim)
|
||||
version = 'LuaJIT',
|
||||
-- Setup your lua path
|
||||
path = runtime_path
|
||||
},
|
||||
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)
|
||||
},
|
||||
-- Do not send telemetry data containing a randomized but unique identifier
|
||||
telemetry = { enable = false }
|
||||
}
|
||||
},
|
||||
cmd = { "lua-language-server" }
|
||||
},
|
||||
purescriptls = {
|
||||
settings = {
|
||||
purescript = {
|
||||
|
@ -84,22 +62,11 @@ local servers = {
|
|||
},
|
||||
rnix = {},
|
||||
cssls = {},
|
||||
jsonls = {},
|
||||
rust_analyzer = {},
|
||||
-- texlab = {
|
||||
-- build = {
|
||||
-- executable = "tectonic",
|
||||
-- args = {
|
||||
-- "-X",
|
||||
-- "compile",
|
||||
-- "%f",
|
||||
-- "--synctex",
|
||||
-- "--keep-logs",
|
||||
-- "--keep-intermediates"
|
||||
-- }
|
||||
-- }
|
||||
-- },
|
||||
kotlin_language_server = {}
|
||||
-- agda = {}, Haven't gotten this one to work yet
|
||||
sumneko_lua = {
|
||||
cmd = { "lua-language-server", "--logpath=/home/adrielus/.local/share/lua-language-server/log" }
|
||||
}
|
||||
}
|
||||
|
||||
M.capabilities = require('cmp_nvim_lsp').default_capabilities()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue