diff options
| author | Heechul Ryu <ryuhcii@gmail.com> | 2023-04-01 18:14:07 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-04-02 09:14:07 +0800 |
| commit | 623be4bf233c87e269fddd5ec730c54e1a4a6f79 (patch) | |
| tree | d2d94634ca3d251b58053ea6e519904c30116f23 /lua | |
| parent | docs: fix typo (diff) | |
| download | nvim-lspconfig-623be4bf233c87e269fddd5ec730c54e1a4a6f79.tar nvim-lspconfig-623be4bf233c87e269fddd5ec730c54e1a4a6f79.tar.gz nvim-lspconfig-623be4bf233c87e269fddd5ec730c54e1a4a6f79.tar.bz2 nvim-lspconfig-623be4bf233c87e269fddd5ec730c54e1a4a6f79.tar.lz nvim-lspconfig-623be4bf233c87e269fddd5ec730c54e1a4a6f79.tar.xz nvim-lspconfig-623be4bf233c87e269fddd5ec730c54e1a4a6f79.tar.zst nvim-lspconfig-623be4bf233c87e269fddd5ec730c54e1a4a6f79.zip | |
docs(nil_ls): add a link to an example (#2540)
Unlike `rnix` that configure to use `nixpkgs-fmt`
by default `nil` doesn't set it up by default
which requires explicit setting which would be helpful
to see the example config to set it correctly, hence the link.
Diffstat (limited to 'lua')
| -rw-r--r-- | lua/lspconfig/server_configurations/nil_ls.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lua/lspconfig/server_configurations/nil_ls.lua b/lua/lspconfig/server_configurations/nil_ls.lua index ff7ebba2..49044c12 100644 --- a/lua/lspconfig/server_configurations/nil_ls.lua +++ b/lua/lspconfig/server_configurations/nil_ls.lua @@ -15,6 +15,8 @@ A new language server for Nix Expression Language. If you are using Nix with Flakes support, run `nix profile install github:oxalica/nil` to install. Check the repository README for more information. + +_See an example config at https://github.com/oxalica/nil/blob/main/dev/nvim-lsp.nix._ ]], default_config = { root_dir = [[root_pattern("flake.nix", ".git")]], |
