Skip to content

Commit

Permalink
Merge pull request #306 from dakshinatharindu/nvim-lspconfig
Browse files Browse the repository at this point in the history
Add configurations for nvim-lspconfig
  • Loading branch information
dalance authored Jun 18, 2024
2 parents 19d7d06 + 9348e9c commit 215e585
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,26 @@ In configuration file
}
```

### Neovim with [nvim-lspconfig](https://github.com/neovim/nvim-lspconfig)

In configuration file
```lua
{
"neovim/nvim-lspconfig",
opts = {
servers = {
svls = {
root_dir = function(fname)
return require("lspconfig.util").find_git_ancestor(fname)
end,
cmd = { "svls" },
filetypes = { "verilog", "systemverilog" },
},
},
},
}
```

### Emacs with [lsp-mode](https://github.com/emacs-lsp/lsp-mode)

```emacs-lisp
Expand Down

0 comments on commit 215e585

Please sign in to comment.