Skip to content

Commit

Permalink
nixd/docs/editors: add markdown parsers in nvim-lsp (#593)
Browse files Browse the repository at this point in the history
Add markdown to enable nixdocs shown in hover.
Closes #592
  • Loading branch information
573 authored Sep 19, 2024
1 parent e2f0d90 commit a47ac2c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion nixd/docs/editors/nvim-lsp.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@ let
'';

packages.myPlugins.start = with pkgs.vimPlugins; [
(nvim-treesitter.withPlugins (parsers: [ parsers.nix ]))
(nvim-treesitter.withPlugins (
parsers: builtins.attrValues { inherit (parsers) nix markdown markdown_inline; }
))
friendly-snippets
luasnip
nvim-cmp
Expand Down

0 comments on commit a47ac2c

Please sign in to comment.