Commit Graph
30 Commits
Author SHA1 Message Date
Pedro Alves 238f0c590e misc: fix mkEnableOption descriptions 2023-01-22 03:32:08 +00:00
traxys 23327700e2 plugins/rust-tools: Add a plugins for LSP extensions for rust-analyzer (#132) 2023-01-21 18:52:56 +00:00
traxys 55ed602814 tree-sitter: Switch to using nvim-treesitter grammars (#131)
The grammars in the tree-sitter package and nvim-treesitter package are
not the same. The grammars in the nvim-treesitter package are directly
taken from the grammars supported by the plugin, whereas tree-sitter
grammars are hard-coded in nixpkgs.

This means that there are more tree-sitter grammars available from
nvim-treesitter rather than tree-sitter.
2023-01-21 17:02:16 +00:00
Alexander Nortung 3f9effc575 general: add package options (#127)
* barbar: package option

* Base16: package option

* gruvbox: package option

* nord: package option

* one: package option

* onedark: package option

* tokyonight: package option

* nvim-cmp: package option

* coq: package option

* lspkind: package option

* helpers: added package option to mkPlugin

* fugitive: package option

* gitgutter: package option

* gitsigns: package option

* neogit: package option

* ledger: package option

* nix: package option

* plantuml-syntax: package option

* treesitter-context: package option + formatting

* treesitter-refactor: package option + formatting

* treesitter: package option

* zig: package option

* null-ls: package option

* null-ls/servers: package option

* lsp-lines: package option

* lspsaga: package option

* trouble: package option

* luasnip: added description for package option

* airline: package option

* lightline: package option

* lualine: package option

* telescope: package option

* telescope/frecency: package option

* telescope/fzf-native: package option

* telescope/media-files: package option

* comment-nvim: package option

* vim-commentary: package option

* dashboard: package option

* easyescape: package option

* emmet: package option

* endwise: package option

* floaterm: package option

* goyo: package option

* intellitab: package option

* mark-radar: package option

* notify: package option

* nvim-autopairs: package option

* nvim-tree: package option

* project-nvim: package option

* specs: package option

* startify: package option

* surround: package option

* undotree: package option
2023-01-19 10:45:15 +00:00
Gaétan Lepage b9a4f0ca19 plugins/languages/treesitter: fixed parsers installation when not using nixGrammars (#116) 2023-01-13 10:48:24 +00:00
Gaétan LepageandPedro Alves 20d47fb283 treesitter: change default value for parserInstallDir (#117)
* plugins/languages/treesitter: change default value for parserInstallDir

* better document parserInstallDir

Co-authored-by: Pedro Alves <pta2002@pta2002.com>
2023-01-12 19:17:43 +00:00
traxys 7713f5d441 plantuml: init syntax plugin (#104) 2023-01-06 15:14:30 +00:00
traxys 2f9c21ffc8 treesitter: add tree-sitter context plugin (#103) 2023-01-06 11:31:54 +00:00
traxys 1f723e8abd treesitter: add module for treesitter-refactor (#101)
As treesitter-refactor is a treesitter module we need a way to pass
extra configuration options to the treesitter setup. This is done
through a `moduleConfig` attrset. This set should not be used outside
nixvim.
2023-01-05 14:23:23 +00:00
Pedro Alves 6537e9aa1f treesitter: custom grammars 2022-12-01 14:07:08 +00:00
Pedro Alves 36bc31ed5c lsp: add haskell language server 2022-12-01 14:05:46 +00:00
LightQuantum f7be736462 treesitter: allow specifying custom parser install dir (#60) 2022-10-31 10:32:59 +00:00
Pedro Alves 4ddd3969e5 nixvim: support standalone nixvim
This represents a major rearchitecture for nixvim, so I'm leaving this up to track the progress for now, and to serve as a reference for any breaking changes during transition.

The main change is, of course, being able to use nixvim standalone. To do this, you should use the new build function, which takes in two arguments: the system architecture (e.g. x86_64-linux) and the configuration. For the new configuration, do not use the programs.nixvim. prefix.

For module development, the main change is that you should no longer prefix your modules with programs.nixvim..
2022-09-18 11:19:23 +01:00
Pedro Alves bd6f978d51 treesitter: ensure_installed to none if using nix
This is a temporary workaround for an upstream bug which causes
nvim-treesitter to complain about a read-only installation directory
2022-09-12 13:04:24 +01:00
Leah 88fb867da5 treesitter: add ignoreInstall option to treesitter config (#38) 2022-09-02 00:19:26 +01:00
Pedro Alves ba4afda369 treesitter: install parsers with nix
This fixes weird issues where you might get errors about libstdc++ after
updating your system without running :TSInstall again. Fixes it by just
relying on Nix to do the managing itself!

Unfortunately, for now this still needs work: you can't select which
languages are to be installed, which is why it's off by default. In the
hopefully not-too-distant future, this will be the default, and the
other way will be deprecated.
2022-01-15 02:37:09 +00:00
Pedro Alves 3dceb67a34 treesitter: don't use packer 2021-12-11 15:09:11 +00:00
Pedro Alves 85c77c2e34 zig: init 2021-03-31 13:56:18 +01:00
Pedro Alves 29c4274c66 treesitter: require nodejs 2021-03-19 14:09:51 +00:00
Pedro Alves f7e02b3ccf packer: init plugin 2021-03-18 14:03:17 +00:00
Pedro Alves 5ffa2b4543 ledger: init plugin 2021-03-18 10:04:58 +00:00
Pedro Alves 0d51b37154 nvim-autopairs: init plugin
Also disabled Nix for treesitter temporarily, it's broken right now
2021-03-17 22:33:03 +00:00
Pedro Alves 5474eba2fb nix: init plugin 2021-03-01 19:54:40 +00:00
Pedro Alves a9402c953a treesitter: don't use mkIf 2021-02-10 21:01:07 +00:00
Pedro Alves ea1a5a1a10 treesitter: fix it properly! 2021-02-01 16:40:07 +00:00
Pedro Alves 0a380bc90d treesitter: fix wrong path 2021-02-01 16:29:30 +00:00
Pedro Alves 91e3d127ea treesitter: fix missing semicolon 2021-02-01 16:28:06 +00:00
Pedro Alves 06fc89fee9 treesitter: fix typo 2021-02-01 16:27:16 +00:00
Pedro Alves 8f04605110 tresitter: enable 2021-02-01 16:21:42 +00:00
Pedro Alves 18d6f8da5f lightline: support all options of the official plugin 2020-12-31 18:15:19 +00:00