Commit graph

2428 commits

Author SHA1 Message Date
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
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
Gaétan Lepage
84006ea282
nvim-tree: typo in option updateFocusedFile (#107) 2023-01-10 12:38:59 +00:00
Gaétan Lepage
7827947ca9
readme: fix typos (#106) 2023-01-10 12:38:25 +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
Pedro Alves
7807c51ccf nixvim: add nix-darwin wrapper 2022-12-30 21:14:54 +01: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
traxys
660c9319e1
wrappers: Extend and document the makeNixvim function (#86)
* wrappers: Allow to customize the nixpkgs used for nixvim

This allows to pass overlays and other such modifications of nixpkgs.

* wrappers: Allow to pass a custom module to nixvim

This is useful to be able to take full advantage of the Nix module
system, with `imports` and `options`.

* README: Update the documentation on the standalone usage

The following information were out of date or incomplete:

- The `build` function has be changed to the `makeNixvim` function.
- `makeNixvimWithModule` has been introduced in order to allow more
customization.
- Added a full example using nixvim in a standalone flake
2022-12-29 17:51:57 +00:00
Pedro Alves
4dedb06ceb readme: update to reflect documentation home 2022-12-29 17:40:39 +00:00
Pedro Alves
498986d90a docs: fix CI documentation generation 2022-12-29 17:36:54 +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
Pedro Alves
fdbba2238e null-ls: add fnlfmt 2022-12-19 02:18:15 +00:00
Alexander Nortung
470fd9c07e
copilot: add package option (#84) 2022-12-15 17:04:24 +00:00
Alexander Nortung
de6519f713
nvim-lsp/tailwindcss: init (#85) 2022-12-15 17:03:31 +00:00
Pedro Alves
db8a2c0b97 lsp-lines: add currentLine option 2022-12-11 19:39:51 +00:00
*Kim Zick
a7fbb81224
options: add viAlias and vimAlias (#75) 2022-12-08 17:12:57 +00:00
Syahdan
472e10f069
lsp: add bufnr to passed argument (#82)
* lsp: add bufnr to passed argument

* lsp: add docs for last commit
2022-12-05 02:49:37 +00:00
*Kim Zick
78f5f36738
fix: basic flake check should work now (#74) 2022-12-01 23:15:21 +00:00
Alexander Nortung
4880459702
telescope: added extraOptions and defaults (#67)
* telescope: added extraOptions and defualtConfig

* Update default.nix

Co-authored-by: Pedro Alves <pta2002@users.noreply.github.com>
2022-12-01 19:58:35 +00:00
Alexander Nortung
90b8a45092
Added extra options (#62)
* Added extraOptions helper

* project-nvim: added extraOptions
2022-12-01 19:57:06 +00:00
Pedro Alves
1bd5e97892 README: direct people to GH Discussions 2022-12-01 19:55:54 +00:00
Pedro Alves
27bf782ed8 nvim-lsp: try again to fix haskell gaaaaa 2022-12-01 15:15:54 +00:00
Pedro Alves
8135cce2c7 null-ls: add fourmolu 2022-12-01 14:37:30 +00:00
Pedro Alves
46c0128a36 nvim-lsp: fix hls again i hope it's the last time <.< 2022-12-01 14:22:15 +00:00
Pedro Alves
398c96ffe0 nvim-lsp: fix typo in hls config
I'm an idiot that can't type :')
2022-12-01 14:18:23 +00:00
Pedro Alves
5242d9333e nvim-lsp: fix hls 2022-12-01 14:15:46 +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
Alexander Nortung
bc045bd50a
vuels: using non deprecated version (#77) 2022-11-30 17:04:24 +00:00
*Kim Zick
8678094511
specs: add color option (#76) 2022-11-27 21:55:34 +00:00
*Kim Zick
f9cfb250e9
helpers: fix toLuaObject string escapes (#72) 2022-11-27 21:53:49 +00:00
Alexander Nortung
a601a75d0c
nvim-lsp: added denols (#68) 2022-11-16 12:37:35 +00:00
Pedro Alves
4c36cdc2e7 null-ls: add beautysh and shellcheck 2022-11-15 11:36:42 +00:00
Pedro Alves
4f08c8a4bf trouble.nvim: init 2022-11-15 10:14:43 +00:00