Compare commits
No commits in common. "616a13b1b0c19ff8dc1b1e707914d907055f257f" and "49321cb4ff023d1ed7116598fa9ae118d8f742dd" have entirely different histories.
616a13b1b0
...
49321cb4ff
3 changed files with 18 additions and 18 deletions
|
@ -666,7 +666,6 @@ lspconfig.julials.setup {
|
||||||
]] }
|
]] }
|
||||||
}
|
}
|
||||||
-- SATySFi
|
-- SATySFi
|
||||||
require 'lspconfig.server_configurations.satysfi_ls'
|
|
||||||
lspconfig.satysfi_ls.setup {
|
lspconfig.satysfi_ls.setup {
|
||||||
on_attach = on_attach,
|
on_attach = on_attach,
|
||||||
capabilities = capabilities,
|
capabilities = capabilities,
|
||||||
|
@ -714,7 +713,7 @@ lspconfig.rust_analyzer.setup {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
local lss = { "pyright", "texlab", "ccls", "clangd", "ts_ls", --[["tailwindcss"]] "hls", "cmake",
|
local lss = { "pyright", "texlab", "ccls", "clangd", "tsserver", --[["tailwindcss"]] "hls", "cmake",
|
||||||
"csharp_ls", "html", "r_language_server", "cssls", "jsonls", "sqls", "vhdl_ls", "ruff" }
|
"csharp_ls", "html", "r_language_server", "cssls", "jsonls", "sqls", "vhdl_ls", "ruff" }
|
||||||
for _, ls in pairs(lss) do
|
for _, ls in pairs(lss) do
|
||||||
lspconfig[ls].setup {
|
lspconfig[ls].setup {
|
||||||
|
|
|
@ -1,20 +1,21 @@
|
||||||
-- https://zenn.dev/monaqa/articles/2021-12-10-satysfi-language-server
|
-- https://zenn.dev/monaqa/articles/2021-12-10-satysfi-language-server
|
||||||
local configs = require 'lspconfig.configs'
|
local util = require 'lspconfig.util'
|
||||||
|
|
||||||
configs.satysfi_ls = {
|
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.
|
||||||
|
]],
|
||||||
default_config = {
|
default_config = {
|
||||||
cmd = { 'satysfi-language-server' },
|
root_dir = [[root_pattern(".git")]],
|
||||||
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 98581abe7cb2baecd63e95c337da08778fec60ae
|
Subproject commit 21f32a2032614d2e923be436ca4a4f0f07a8cdc5
|
Loading…
Add table
Reference in a new issue