diff --git a/home/profiles/nvim/config/fnl/conf/lsp.fnl b/home/profiles/nvim/config/fnl/conf/lsp.fnl index 6cce7f44..8bb37ce2 100644 --- a/home/profiles/nvim/config/fnl/conf/lsp.fnl +++ b/home/profiles/nvim/config/fnl/conf/lsp.fnl @@ -4,7 +4,7 @@ (local lspsaga (require :lspsaga)) (local cmp (require :cmp)) (local nvim (require :lib/nvim)) -; (local lspfuzzy (require :lspfuzzy)) +; (local lspfuzzy (require :lspfuzzy)) ; Not available on Nix ; (local sg (require :sg)) ; (local lsputil (require :lspconfig/util)) ; (local navic (require :nvim-navic)) @@ -87,13 +87,14 @@ :rangeVariableTypes true} :on_attach on-attach}) -(local lsps [:nil_ls :terraform_lsp :fennel_ls :tsserver]) +(local lsps [:nil_ls :terraform_lsp :fennel_ls :tsserver :starbin]) (each [index lsp (ipairs lsps)] ((. (. lspconfig lsp) :setup) {})) ; null-ls (let [null-ls (require :null-ls)] - (null-ls.setup {:sources [;null-ls.builtins.diagnostics.shellcheck + (null-ls.setup {:sources [; TODO fix these + ;null-ls.builtins.diagnostics.shellcheck null-ls.builtins.diagnostics.commitlint]})) ;null-ls.builtins.diagnostics.jsonlint]})) ;(null-ls.builtins.diagnostics.proselint.with {:filetypes ["vimwiki" "mail"]})]})) diff --git a/home/profiles/nvim/default.nix b/home/profiles/nvim/default.nix index f99fbb90..b9188a5d 100644 --- a/home/profiles/nvim/default.nix +++ b/home/profiles/nvim/default.nix @@ -1,24 +1,6 @@ { pkgs, ... }: -# let - # customPlugins = { - # vim-zettel = pkgs.vimUtils.buildVimPlugin { - # name = "vim-zettel"; - # src = pkgs.fetchFromGitHub { - # owner = "michal-h21"; - # repo = "vim-zettel"; - # rev = "929d90eec62e6f693c2702d2b6f76a93f2f1689d"; - # sha256 = "1fzKmknfVlEYwqeXgbKITbb2/PJ023iJyMz6vak3qh4="; - # }; - # }; - # }; - - # Thank god I don't use python anymore - # my-python-packages = python-packages: with python-packages; [ - # # other python packages you want - # ]; - # python-with-my-packages = pkgs.python3.withPackages my-python-packages; -# in - +# TODO Need to find a solution to have my own packages? +# Or at least update to recent versions of the packages I do use in nixpkgs { home.sessionVariables.EDITOR = "nvim"; home.shellAliases = { @@ -47,7 +29,6 @@ # extraConfig = '' # filetype plugin on - # set shortmess+=c # " Pasting @@ -57,10 +38,6 @@ # " lua config # lua <