Skip to content

Commit

Permalink
add configurations for nvim-lspconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
dakshinatharindu committed Jun 15, 2024
1 parent 19d7d06 commit 9348e9c
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 9348e9c

Please sign in to comment.