Pedro Alves
8748b953c3
Merge branch 'main' into lib
2023-01-24 01:27:39 +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
Alexander Nortung
f2dbecdf3f
Fixed deprecated option
2023-01-22 21:42:23 +01:00
Alexander Nortung
d1278097c2
Bufferline: added new options
2023-01-22 21:25:04 +01:00
Alexander Nortung
65fdfdc0eb
Fixed mkRenamedOption
2023-01-22 21:11:27 +01:00
Alexander Nortung
57eb1c09a9
nvim-tree: renamed options
2023-01-22 20:32:02 +01:00
Alexander Nortung
63be580ac4
bufferline: deprecated option
2023-01-22 20:31:46 +01:00
Alexander Nortung
6ad7575d6f
Added assertions
2023-01-22 20:31:23 +01:00
Gaétan Lepage
ae7c5f8869
modules/higlights: fix string concatenation ( #136 )
2023-01-22 12:41:24 +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
Pedro Alves
a1af9214e1
tests: update flake.lock
2023-01-21 17:24:20 +00:00
Pedro Alves
d3b63cafbb
modules/highlights: fix typo
2023-01-21 17:21:12 +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
1022eae161
modules/highlights: added a wrapper around vim.fn.matchadd ( #123 )
...
* modules/highlights: added a wrapper around vim.fn.matchadd
* modules/highlights: fix mkIf
Co-authored-by: Pedro Alves <pta2002@pta2002.com>
2023-01-21 17:09:58 +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
5a222885fc
added warnings module
2023-01-20 00:15:58 +01:00
Alexander Nortung
e607ab67a5
Merge branch 'hotfix/null-ls' into lib
2023-01-20 00:13:20 +01:00
Alexander Nortung
b4532d1e4b
null-ls: fix wrong name of variable
2023-01-20 00:11:03 +01:00
Alexander Nortung
e0ed2eabf9
wrappers: removed code duplication
2023-01-20 00:04:53 +01:00
Alexander Nortung
78e7d229a1
Created proxy file for helpers.nix
2023-01-19 23:08:05 +01:00
Alexander Nortung
89347b9f74
moved helpers to lib folder
2023-01-19 23:06:02 +01: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 package
option 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
50bda39cd2
update flake nixpkgs input ( #122 )
2023-01-18 14:41:59 +00:00
Gaétan Lepage
d0910a6ddb
modules: add autocmd ( #120 )
2023-01-16 23:40:29 +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
Gaétan Lepage
5c6ba55f8a
keymaps: switch to lua API vim.keymap.set ( #115 )
...
* modules/keymaps: switch to lua API vim.keymap.set
* add test for keymaps
Co-authored-by: Pedro Alves <pta2002@pta2002.com>
2023-01-12 19:13:47 +00:00
Pedro Alves
9aec0f9275
readme: add link to matrix
2023-01-11 13:04:19 +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