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:
|
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 = {
|
||||||
|
cmd = {"srls"},
|
||||||
nvim_lsp.srls.setup({
|
filetypes = {"skill"},
|
||||||
cmd = {"srls"},
|
root_dir = require('lspconfig.util').root_pattern(".git")
|
||||||
filetypes = {"skill"},
|
}
|
||||||
root_dir = root_pattern(".git")
|
}
|
||||||
})
|
require('lspconfig').srls.setup({})
|
||||||
```
|
```
|
||||||
|
|
||||||
#### astronvim
|
#### astronvim
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue