fix #2
This commit is contained in:
parent
263147edc7
commit
f6a470a8b3
16
README.md
16
README.md
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue