mirror of
https://codeberg.org/qwjyh/dotfiles.git
synced 2025-06-27 11:49:20 +09:00
update: nvim: satysfi filetype def & language server setup
This commit is contained in:
parent
b107ad0712
commit
a7c98c7cbb
4 changed files with 24 additions and 4 deletions
|
@ -1,20 +0,0 @@
|
|||
# https://zenn.dev/monaqa/articles/2021-12-10-satysfi-language-server
|
||||
local util = require 'lspconfig.util'
|
||||
|
||||
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 = {
|
||||
root_dir = [[root_pattern(".git")]],
|
||||
},
|
||||
},
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue