Commit Graph
374 Commits
Author SHA1 Message Date
traxys bf042c5809 tests: Fix netman tests by including docker (#267)
Netman tries to call 'docker -v' and it hangs neovim if the docker
command is not found. This adds the docker binary to the derivation
running checks
2023-03-17 13:43:17 +01:00
traxys 261a59a8ad plugins/inc-rename: init + tests (#266) 2023-03-17 12:15:33 +01:00
Pedro Alves 5c853ff9ff README: add devShell example 2023-03-17 09:07:35 +00:00
traxys 02fcb49a03 plugins/netman: init + tests (#255)
Netman tests don't work if we try to effectively execute the config, so
a new parameter to `checkConfig` is introduced, `dontRun` that allows to
skip this phase.
2023-03-17 10:00:22 +01:00
traxys 6544e32396 plugins/nvim-lsp: Update rust-analyzer settings (#263) 2023-03-16 11:19:34 +01:00
traxys c6fa30b81c plugins/nvim-osc52: init + tests (#261)
nvim-osc52 is a plugin that allows to copy from neovim using OSC52 control sequences (works through SSH for example)
2023-03-16 11:18:54 +01:00
traxys f5f33b5390 tests: Allow to skip running neovim (#260)
Some plugins don't really play nicely with being launched in a headless
sandboxed environment. This adds the pseudo option 'tests.dontRun' to
avoid running those tests
2023-03-16 09:13:43 +01:00
traxys 2a3d497d29 plugin/rust-tools: Fix rust-analyzer settings (#262) 2023-03-16 09:13:17 +01:00
Gaétan Lepage e33e62ff61 plugins/lspkind: refactoring + tests (#259) 2023-03-15 12:06:11 +01:00
Gaétan Lepage 86f4067159 plugins/rust-tools: refactoring + tests (#258) 2023-03-15 12:06:00 +01:00
Gaétan Lepage c3821e9924 helpers/keymap: fix noremap bug (#257) 2023-03-15 00:37:49 +01:00
traxys 416c719f47 plugins: Fetch the plugin sources from flake inputs (#247) 2023-03-14 23:48:27 +01:00
traxys b3ca52110f maps: Add the remap option (#256) 2023-03-14 23:44:14 +01:00
Gaétan Lepage 45bd82602e plugins/null-ls: refactoring + tests (#251) 2023-03-14 22:52:53 +01:00
Gaétan Lepage 9d68949da7 plugins/nvim-lsp: keymaps options (#254) 2023-03-14 15:22:56 +01:00
Gaétan Lepage 4d4f4d17f7 plugins/neo-tree: better description for a few options (#250) 2023-03-14 15:22:19 +01:00
Gaétan Lepage 883703328d plugins/vim-bbye: init + tests (#248) 2023-03-14 15:21:35 +01:00
Gaétan Lepage cf3f10265b plugins/nvim-lsp: add filetypes and autostart options for LS (#252) 2023-03-14 15:16:26 +01:00
Gaétan Lepage 720d55e999 plugins/nvim-lsp: fix pylsp error when no plugins set (#253) 2023-03-14 15:13:27 +01:00
traxys 5a69dc4712 neo-tree: Allow other plugins to insert their sources (#249)
Some plugins define neo-tree sources. For theese plugins having an
option 'neoTreeIntegration = true' would be useful. The problem is that
if we set the plugins.neo-tree.sources to ["<source>"] then we ditch the
default values of ["filesystem" ...]. The idea here is to define an
internal extraSources option that takes care of the following:

- If sources is null set it to the default sources
- Concatenate sources and extraSources
2023-03-14 11:30:45 +01:00
Gaétan Lepage 32d79dee7a plugins/neo-tree: init + tests (#245) 2023-03-13 15:54:30 +01:00
Gaétan Lepage 1ac27edf2e plugins/nvim-tree: fix regressions introduced in #213 + tests (#241) 2023-03-13 10:58:03 +01:00
Gaétan Lepage c34c941c8f plugins/nvim-cmp: add enum type for option snippet.expand (#244) 2023-03-12 22:31:32 +01:00
Gaétan Lepage bfbe737aa3 plugins/nvim-cmp: refactor + tests (#237) 2023-03-12 18:52:02 +01:00
Gaétan Lepage 7c6f71199b plugins/trouble: fix regressions introduced #213 (#215) 2023-03-12 18:50:09 +01:00
Gaétan Lepage e89d919e4d plugins/packer: refactoring + fixes + tests (#243) 2023-03-12 18:23:23 +01:00
Gaétan Lepage 8fed61902a plugins/todo-comments: fix missing mkRaw for pattern options (#242) 2023-03-12 17:55:09 +01:00
Gaétan Lepage 933c87c282 plugins/todo-comments: refactoring + tests (#239) 2023-03-12 11:49:41 +01:00
Gaétan Lepage 8b21fd5872 lib/helpers: fix typo in mkModeMaps (#238) 2023-03-11 00:25:51 +01:00
Gaétan Lepage 0bd07ee091 helpers: add mkMaps and mkModeMaps (#236) 2023-03-10 13:00:52 +01:00
Gaétan Lepage f0649334a4 lib/helpers: mkIfNonNull', ifNonNull' and ifNonNull (#230) 2023-03-10 12:06:32 +01:00
Shayan Rashid a16d862de4 todo-comments: init plugin (#232) 2023-03-10 03:00:04 +00:00
Gaétan Lepage 1a110b71d4 nvim-lsp/pylsp: fix regressions introduced in #213 (#231) 2023-03-10 02:58:29 +00:00
Alexander Nortung ecfa870c7a bugfix: Set default for programs.nixvim. (#234)
fixes #224
2023-03-09 14:03:50 +01:00
Babeuh e643bcd5d0 fix: nvim-cmp: missing "helpers." in "helpers.mkRaw" (#229) 2023-03-08 09:21:49 +01:00
Gaétan Lepage 0989017145 plugins/markdown-preview: fixed regressions introduced in #213 (#214) 2023-03-07 18:43:40 +00:00
Gaétan Lepage 16db74996c helpers: typo (mkCompositeOptions -> mkCompositeOption) (#226) 2023-03-07 15:53:22 +00:00
Babeuh 9064aead30 fix: typo in barbar (#228) 2023-03-07 16:50:20 +01:00
Gaétan Lepage bf25ace61c gitignore: add .direnv (#225) 2023-03-07 13:13:12 +01:00
Gaétan Lepage f3ec786baa helpers: add mkCompositeOptions (#223) 2023-03-06 23:45:38 +01:00
Alexander Nortung 2c333c86d0 Added nix check and pre commit hook for formatting (#220)
* Added nix check and pre commit hook for formatting

* Removed nix fmt check from CI
2023-03-06 15:06:16 +00:00
Alexander Nortung c5f31f5677 Added caveat section to options (#222)
Since the options set could be treated as options for a module, it
should be wrapped with config to work, when using makeNixvimWithModule.
2023-03-04 02:26:13 +00:00
Alexander Nortung 2258eb8df8 misc: added flake template (#219)
* Added simple flake template

* Added readme to template

* Updated readme to show how to use the template

* Formatting

* removed unused file from template

* Fixed template url and pkgs

* Formatting
2023-03-03 09:18:52 +00:00
Gaétan Lepage 6e027c40f2 plugins/vimtex: fix error when user does not set any extraConfig option (#216) 2023-03-02 13:01:31 +00:00
Gaétan Lepage e439cb79df plugins/{telescope,bufferline}: make use of helpers.extraOptionsOptions (#212) 2023-03-01 22:57:19 +01:00
Gaétan Lepage 73bdf8a96f plugins/nvim-autopairs: refactor + update options (#211) 2023-03-01 22:56:32 +01:00
Shayan Rashid 497adab94b plugins/bufferline: fix typo in 'error_diagnostic' (#218) 2023-03-01 21:30:05 +01:00
Gaétan Lepage 23bb06c5eb plugins/vimtex: fix VimtexInverseSearch (#217) 2023-03-01 16:21:07 +01:00
traxys abc2d19a06 tests: Implement a way to test nixvim (#199)
The tests can be executed using `nix flake check`, they check that
modules can be built, and they execute in neovim without any errors.

This commit only implements tests for tokyonight-nvim upstream defaults
2023-02-28 23:39:55 +00:00
Pedro Alves 92867386c7 helpers: fix toLuaObject ignoring empty objects (#213) 2023-02-28 18:20:13 +00:00