This commit is contained in:
acereca 2023-05-27 21:45:03 +02:00
parent 263147edc7
commit f6a470a8b3
1 changed files with 8 additions and 8 deletions

View File

@ -30,14 +30,14 @@ using [nvim-lspconfig](https://github.com/neovim/nvim-lspconfig)
install `srls` into your path or give the `cmd` table entry the absolute path:
```lua
local nvim_lsp = require('lspconfig')
nvim_lsp.srls.setup({
cmd = {"srls"},
filetypes = {"skill"},
root_dir = root_pattern(".git")
})
require('lspconfig.configs').srls = {
default_config = {
cmd = {"srls"},
filetypes = {"skill"},
root_dir = require('lspconfig.util').root_pattern(".git")
}
}
require('lspconfig').srls.setup({})
```
#### astronvim