add nix lsp
This commit is contained in:
@@ -137,6 +137,13 @@ nvim_lsp.templ.setup({
|
||||
capabilities = capabilities,
|
||||
})
|
||||
|
||||
-- Nix LSP Configuration
|
||||
nvim_lsp.nil_ls.setup({
|
||||
on_attach = on_attach,
|
||||
flags = lsp_flags,
|
||||
capabilities = capabilities,
|
||||
})
|
||||
|
||||
-- Go LSP Configuration
|
||||
nvim_lsp.gopls.setup({
|
||||
on_attach = function(client, bufnr)
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
{ config, pkgs, ... }:
|
||||
{ pkgs, ... }:
|
||||
let
|
||||
inherit (pkgs.lib.lists) subtractLists;
|
||||
unstable = import <nixpkgs-unstable> { };
|
||||
in
|
||||
{
|
||||
@@ -151,6 +150,7 @@ in
|
||||
golangci-lint-langserver
|
||||
gopls
|
||||
lua-language-server
|
||||
nil
|
||||
nodePackages.eslint
|
||||
nodePackages.svelte-language-server
|
||||
nodePackages.typescript
|
||||
|
||||
Reference in New Issue
Block a user