Commit graph

1402 commits

Author SHA1 Message Date
traxys
12bdded4db
tokyonight: Refactor to use nullable options (#153) 2023-02-01 16:17:27 +00:00
traxys
247e3da2fe
gitmessenger: init plugin (#154) 2023-02-01 16:14:22 +00:00
traxys
89bf2d660b
indent-blankline: init plugin (#161) 2023-02-01 16:11:30 +00:00
Pedro Alves
8ef6945e75 bufferline: fix 2023-01-28 14:55:00 +00:00
traxys
8a0056617a
languages: Add clangd_extensions, a plugin to handle clangd LSP extensions (#141) 2023-01-26 20:18:45 +00:00
Gaétan Lepage
c73bef16ab
helpers: add mkPackageOption + refactoring (#144) (#150) 2023-01-25 18:46:49 +00:00
Alexander Nortung
d8a86e9b3f
nvim-tree: fixed typo (#151) 2023-01-25 18:42:51 +00:00
Pedro Alves
2d54272177
Revert "helpers: add mkPackageOption + refactoring (#144)" (#149)
This reverts commit b724085447.
2023-01-25 00:03:26 +00:00
Gaétan Lepage
b724085447
helpers: add mkPackageOption + refactoring (#144) 2023-01-24 23:59:06 +00:00
traxys
b9a5c9c2b5
gitsigns: use nullable options (#148)
* helpers: Correctly print bool values as true/false

* helpers: Add helpers to make nullable enums with default values

* gitsigns: Refactor to use nullable options
2023-01-24 23:55:51 +00:00
traxys
66b1b099cf
rust-tools: Add rust-analyzer to the extraPackages (#142) 2023-01-24 01:31:32 +00:00
Alexander Nortung
63c256dc3d
core: show warnings for deprecated or changed options (#129)
* moved helpers to lib folder

* Created proxy file for helpers.nix

* wrappers: removed code duplication

* null-ls: fix wrong name of variable

* added warnings module

* Added assertions

* bufferline: deprecated option

* nvim-tree: renamed options

* Fixed mkRenamedOption

* Bufferline: added new options

* Fixed deprecated option

Co-authored-by: Pedro Alves <pta2002@pta2002.com>
2023-01-24 01:28:01 +00:00
Pedro Alves
5fac9be0ab astro-ls: fix typo 2023-01-24 00:08:11 +00:00
Pedro Alves
936fe16971 lsp: add astro 2023-01-24 00:05:30 +00:00
Gaétan Lepage
1fe11e2529
plugins: Add nvim-colorizer (#140) 2023-01-23 14:31:53 +00:00
Pedro Alves
1233dc4ed5 nvim-lightbulb: fix helpers 2023-01-23 14:17:07 +00:00
traxys
a178cf7268
null-ls: Add a number of sources (#138) 2023-01-23 13:58:50 +00:00
traxys
374fccae9e
nvim-lsp: Put the settings options in the settings namespace (#137)
This is done to avoid mixing setting options and LSP setup options.
2023-01-23 13:52:46 +00:00
traxys
c09eb13a5a
nvim-tree: Fixup mkIf if value is null (#133) 2023-01-22 03:36:53 +00:00
traxys
4afb8e7347
nvim-lightbulb: init
* plugins: Add nvim-lightbulb plugin, showing if code actions are available

* Update nvim-lightbulb.nix

Co-authored-by: Pedro Alves <pta2002@users.noreply.github.com>
2023-01-22 03:36:24 +00:00
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
2f2f724f6a
nvim-lsp: Add settings for rust-analyzer (#113)
* nvim-lsp: Add settings for rust-analyzer

Because the settings are quite complex they are auto-generated. This
commit adds the script creating it & the generated options.

* Update flake.nix

Co-authored-by: Pedro Alves <pta2002@users.noreply.github.com>
2023-01-21 17:15:46 +00:00
Gaétan Lepage
5b84bbb513
plugins/utils/startify: fix wrongly named option: startify_custom_header (#118) 2023-01-21 17:13:01 +00:00
Gaétan Lepage
7a2f063f07
plugins/completion/nvim-cmp: add missing tpe of option "auto_enable_sources" (#119) 2023-01-21 17:12:32 +00:00
Gaétan Lepage
3c918cfc92
misc: remove trailing whitespaces (#121)
Co-authored-by: Pedro Alves <pta2002@users.noreply.github.com>
2023-01-21 17:12:09 +00:00
Gaétan Lepage
1480ffe201
plugins/utils/nvim-tree: change implementation of autoClose (#125) 2023-01-21 17:04:28 +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
Pedro Alves
809aeb7561 intellitab: fix wrong cfg 2023-01-21 16:46:06 +00:00
Pedro Alves
7bf2de6735 null-ls: fix mistyped variable 2023-01-21 15:19:51 +00:00
Alexander Nortung
d2f714c40e
bufferline: refactor - added package and extraOptions options. (#126) 2023-01-19 20:39:37 +00:00
Pedro Alves
11da3bfbc1 fix several broken options 2023-01-19 16:02:40 +00:00
Pedro Alves
5b0e3623a0 fix broken documentation 2023-01-19 15:53:33 +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
83f6e1647f
nvim-lsp: add sumneko_lua language server (#109) 2023-01-19 10:37:36 +00:00
Alexander Nortung
2180675750
lsp: added packageoption to basic lsp servers (#61)
* nvim-lsp: added package options for basic servers

* nvim-lsp: updated package options

* nvim-lsp: added cmd to plugins that share dependency
2023-01-19 10:36:56 +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 Lepage
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
b1ba5f873e
lsp: add support for several LSP clients (#111)
* nvim-lsp: Allow to pass settings to clients

Some clients (like rust-analyzer, nil_ls, ...) can take settings
specified in the setup function. This commit adds two fields for the
'mkLsp' function to handle this:

- extraOptions: define nix module options
- settings: A function that takes the corresponding lsp module config
  and formats it as a settings object compatible with the server.

* nvim-lsp: Add nil-ls (for Nix)

* nvim-lsp: Add bashls (for Bash)

* nvim-lsp: Add dartls, for dart

Co-authored-by: Pedro Alves <pta2002@users.noreply.github.com>
2023-01-10 22:47:52 +00:00
Gaétan Lepage
02f28c7b48
nvim-lsp: add texlab language server (#110) 2023-01-10 12:42:22 +00:00
Gaétan Lepage
f32627307a
nvim-lsp: add bashls language server (#108) 2023-01-10 12:41:47 +00:00
Gaétan Lepage
84006ea282
nvim-tree: typo in option updateFocusedFile (#107) 2023-01-10 12:38:59 +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
traxys
125ed74a42
null-ls: Add gitsigns code action (#100)
As this is not an external command but a plugin it adds the gitsigns
plugin if enabled.
2022-12-30 21:04:43 +00:00
traxys
30fc8b4f43
gitsigns: init plugin (#99) 2022-12-30 20:21:59 +00:00
volkswagenfeature
de9a5913d2
magma-vnim: init
* Added magma-nvim skeleton

* Added magma-nvim options

* formatting, suggestions

Co-authored-by: tristan BetaBlue-NixOS-2022 <tristan@BetaBlue-NixOS-2022.com>
2022-12-30 15:02:59 +00:00
Pedro Alves
dd9ec124a2 docs: fix documentation generation 2022-12-29 17:34:54 +00:00
traxys
5f67918bae
tokyonight: Fix configuration and align more with defaults (#87)
The global variables don't work for applying configuration, we need to
switch to using the 'setup' function. This also aligns the default
option values in tokyonight upstream.
2022-12-24 00:08:54 +00:00