this repo has no description
2
fork

Configure Feed

Select the types of activity you want to include in your feed.

fennel-ls maybe

+34 -2
+2 -1
home/profiles/nvim/default.nix
··· 629 629 capabilities = require('cmp_nvim_lsp').default_capabilities(capabilities) 630 630 631 631 local lspconfig = require('lspconfig') 632 - local servers = { 'clojure_lsp', 'terraform_lsp', 'zls', 'pyright', 'rust_analyzer', 'tsserver', 'sumneko_lua' } 632 + local servers = { 'clojure_lsp', 'terraform_lsp', 'zls', 'pyright', 'rust_analyzer', 'tsserver', 'sumneko_lua', 'fennel-ls' } 633 633 for _, lsp in ipairs(servers) do 634 634 lspconfig[lsp].setup { 635 635 on_attach = function(client, bufnr) ··· 864 864 nodePackages.typescript 865 865 nodePackages.typescript-language-server 866 866 sumneko-lua-language-server 867 + fennel-ls 867 868 ]; 868 869 869 870 plugins = with pkgs.vimPlugins // customPlugins; [
+1 -1
pkgs/default.nix
··· 4 4 { pkgs ? (import ../nixpkgs.nix) { } }: { 5 5 plymouth-themes = pkgs.callPackage ./plymouth.nix { }; 6 6 tic-80 = pkgs.callPackage ./tic-80.nix { }; 7 - 7 + fennel-ls = pkgs.callPackage ./fennel-ls.nix { }; 8 8 }
+31
pkgs/fennel-ls.nix
··· 1 + # Stolen from: https://gist.github.com/jjwatt/c83c02e6903c8ffaf546fe5eb27e7d25?permalink_comment_id=3305141#gistcomment-3305141 2 + { pkgs, ... }: 3 + pkgs.stdenv.mkDerivation rec { 4 + name = "fennel-ls"; 5 + src = pkgs.fetchgit { 6 + url = "https://git.sr.ht/~xerool/fennel-ls"; 7 + rev = "70e434839fdf9fad7512118d3f72e38aa8d3ca9f"; 8 + sha256 = "mYOAlSCixlWzykPeLcGyTzWksDAJjblkYwI0k1GuYvE="; 9 + }; 10 + buildInputs = with pkgs; [ 11 + lua 12 + fennel 13 + ]; 14 + 15 + configurePhase = '' 16 + echo [DIRECTORY] $(pwd) 17 + sed -i 's/\.\/fennel/fennel/' Makefile 18 + # cd build/ 19 + # cmake .. 20 + ''; 21 + 22 + buildPhase = '' 23 + make -j4 24 + ''; 25 + 26 + installPhase = '' 27 + mkdir -p $out/bin 28 + chmod a+x fennel-ls 29 + cp -v fennel-ls $out/bin 30 + ''; 31 + }