Move lsp config to local file structure
This commit is contained in:
parent
e5c3bb2492
commit
20801272fc
383 changed files with 11829 additions and 114 deletions
15
.config/nvim/lsp/purescriptls.lua
Normal file
15
.config/nvim/lsp/purescriptls.lua
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
---@brief
|
||||
---
|
||||
--- https://github.com/nwolverson/purescript-language-server
|
||||
---
|
||||
--- The `purescript-language-server` can be added to your project and `$PATH` via
|
||||
---
|
||||
--- * JavaScript package manager such as npm, pnpm, Yarn, et al.
|
||||
--- * Nix under the `nodePackages` and `nodePackages_latest` package sets
|
||||
|
||||
---@type vim.lsp.Config
|
||||
return {
|
||||
cmd = { 'purescript-language-server', '--stdio' },
|
||||
filetypes = { 'purescript' },
|
||||
root_markers = { 'bower.json', 'flake.nix', 'psc-package.json', 'shell.nix', 'spago.dhall', 'spago.yaml' },
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue