update: nvim: satysfi filetype def & language server setup

This commit is contained in:
qwjyh 2023-03-13 02:42:54 +09:00
parent b107ad0712
commit a7c98c7cbb
4 changed files with 24 additions and 4 deletions

View file

@ -0,0 +1,21 @@
-- 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")]],
},
},
}