Compare commits
3 commits
49321cb4ff
...
616a13b1b0
Author | SHA1 | Date | |
---|---|---|---|
616a13b1b0 | |||
3ea290ea58 | |||
d8158947e5 |
3 changed files with 18 additions and 18 deletions
|
@ -666,6 +666,7 @@ lspconfig.julials.setup {
|
|||
]] }
|
||||
}
|
||||
-- SATySFi
|
||||
require 'lspconfig.server_configurations.satysfi_ls'
|
||||
lspconfig.satysfi_ls.setup {
|
||||
on_attach = on_attach,
|
||||
capabilities = capabilities,
|
||||
|
@ -713,7 +714,7 @@ lspconfig.rust_analyzer.setup {
|
|||
}
|
||||
}
|
||||
|
||||
local lss = { "pyright", "texlab", "ccls", "clangd", "tsserver", --[["tailwindcss"]] "hls", "cmake",
|
||||
local lss = { "pyright", "texlab", "ccls", "clangd", "ts_ls", --[["tailwindcss"]] "hls", "cmake",
|
||||
"csharp_ls", "html", "r_language_server", "cssls", "jsonls", "sqls", "vhdl_ls", "ruff" }
|
||||
for _, ls in pairs(lss) do
|
||||
lspconfig[ls].setup {
|
||||
|
|
|
@ -1,21 +1,20 @@
|
|||
-- https://zenn.dev/monaqa/articles/2021-12-10-satysfi-language-server
|
||||
local util = require 'lspconfig.util'
|
||||
local configs = require 'lspconfig.configs'
|
||||
|
||||
return {
|
||||
default_config = {
|
||||
cmd = { 'satysfi-language-server' },
|
||||
filetypes = { 'satysfi' },
|
||||
root_dir = util.root_pattern('.git'),
|
||||
single_file_support = true,
|
||||
},
|
||||
docs = {
|
||||
description = [[
|
||||
https://github.com/monaqa/satysfi-language-server
|
||||
Language server for SATySFi.
|
||||
]],
|
||||
configs.satysfi_ls = {
|
||||
default_config = {
|
||||
root_dir = [[root_pattern(".git")]],
|
||||
cmd = { 'satysfi-language-server' },
|
||||
filetypes = { 'satysfi' },
|
||||
root_dir = vim.fs.root(0, ".git"),
|
||||
single_file_support = true,
|
||||
},
|
||||
docs = {
|
||||
description = [[
|
||||
https://github.com/monaqa/satysfi-language-server
|
||||
Language server for SATySFi.
|
||||
]],
|
||||
default_config = {
|
||||
root_dir = [[root_pattern(".git")]],
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit 21f32a2032614d2e923be436ca4a4f0f07a8cdc5
|
||||
Subproject commit 98581abe7cb2baecd63e95c337da08778fec60ae
|
Loading…
Reference in a new issue