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: install `srls` into your path or give the `cmd` table entry the absolute path:
```lua ```lua
require('lspconfig.configs').srls = {
local nvim_lsp = require('lspconfig') default_config = {
nvim_lsp.srls.setup({
cmd = {"srls"}, cmd = {"srls"},
filetypes = {"skill"}, filetypes = {"skill"},
root_dir = root_pattern(".git") root_dir = require('lspconfig.util').root_pattern(".git")
}) }
}
require('lspconfig').srls.setup({})
``` ```
#### astronvim #### astronvim