This repository has no description
0

Configure Feed

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

tools astronvim: fix lsp integration

+3 -40
+3 -40
tools/astronvim/flake-module.nix
··· 2 2 { 3 3 perSystem = { system, lib, pkgs, ... }: let 4 4 vim_appname = "lassvim"; 5 - langs = [ 6 - # "agda" 7 - # "bash" # throws an error 8 - "c" 9 - "c-sharp" 10 - "cpp" 11 - "css" 12 - "elm" 13 - "elisp" 14 - #"fluent" 15 - "go" 16 - "hcl" 17 - "haskell" 18 - "html" 19 - "janet-simple" 20 - "java" 21 - "javascript" 22 - "jsdoc" 23 - "json" 24 - "julia" 25 - "ocaml" 26 - "pgn" 27 - "php" 28 - "python" 29 - "ruby" 30 - "rust" 31 - "scala" 32 - # "swift" 33 - "typescript" 34 - "yaml" 35 - "nix" 36 - "lua" 37 - "markdown-inline" 38 - "perl" 39 - "make" 40 - "toml" 41 - ]; 42 5 nvim_deps = with pkgs; [ 43 6 nodejs # copilot 44 7 neovim ··· 83 46 ln -s ${inputs.astro-nvim}/lua/* $out/lua 84 47 ln -s ${./user} $out/lua/user 85 48 86 - ${lib.concatMapStringsSep "\n" (name: '' 87 - ln -s ${pkgs.tree-sitter.builtGrammars."tree-sitter-${name}"}/parser $out/parser/${name}.so 88 - '') langs} 49 + ${lib.concatMapStringsSep "\n" (grammar: '' 50 + ln -s $(readlink -f ${grammar}/parser/*.so) $out/parser/${lib.last (builtins.split "-" grammar.name)}.so 51 + '') pkgs.vimPlugins.nvim-treesitter.withAllGrammars.dependencies} 89 52 ''; 90 53 in { 91 54 packages.vim = pkgs.writeShellScriptBin "vim" ''