about summary refs log tree commit diff
path: root/pkgs/test/vim
AgeCommit message (Collapse)AuthorFilesLines
2023-09-27vimUtils: buildVimPluginFrom2Nix renamed to buildVimPluginMatthieu Coudron1-1/+1
the `from2Nix` suffix is a legacy from vim2nix but we dont use that anymore. It makes the name of the function unusual and long.
2022-12-09vim-full: rename from vim_configurableNaïm Favier1-3/+3
Avoids confusion: `vim-full`'s build-time features are configurable, but both `vim` and `vim-full` are *customizable* (in the sense of user configuration).
2022-07-10vimUtils: remove vam supportMatthieu Coudron1-32/+0
having this many (complex) options not only is hard to maintain but I cant see the benefit of these options now that vim supports packages
2022-06-13vimUtils: deprecate configure.pathogen (#154814)Matthieu Coudron1-5/+0
pathogen does not bring any value compared to vim native packages so remove it to ease maintainance burden.
2022-01-20neovim.tests: remove aliasSandro1-1/+1
2021-06-09neovim.tests: added more testsMatthieu Coudron2-111/+3
to check for creation of vi/vim aliases. These tests also now follow the coding conventions of having tests in passthru.test .
2021-06-07neovim: add some testsMatthieu Coudron2-6/+67
To test the generated RC is included in the file and that we have the option not to wrap the RC. run: nix-build -A tests.vim
2021-05-29neovim: fix neovim.override (#124785)Matthieu Coudron1-0/+9
* neovim: temporary revert to unbreak user configs Newly introduced "plugins" parameter is disabled until we get a better testing infrastructure to minimize breaking changes.
2021-05-25wrapNeovimUnstable: accept a wrapRc booleanMatthieu Coudron1-5/+3
additional argument not generated by makeNeovimConfig If true (the default), appends "-u <customRc>" to the wrapped arguments. Set to false if you want to control where to save the generated config (e.g., in ~/.config/init.vim or project/.nvimrc)
2021-05-25neovimUtils: makeNeovimConfig accepts plugins/customRcMatthieu Coudron1-2/+33
mimics home-manager interface and makes it easier to associate configs with plugins. Added a test as well.
2021-04-21tests.vim: init (moved from vim-utils.nix) (#119467)Matthieu Coudron1-0/+72
* tests.vim: init (moved from vim-utils.nix) Moved tests from pkgs/misc/vim-plugins/vim-utils.nix to pkgs/test/vim. Also reduced the amount of generated config: - Make it possible to have an empty config when configured adequately - removed default vim config when using native packages, it could be source of bugs see linked issues (syntax on overrides vim highlights) Things to watch out for: - if you set configure.beforePlugins yourself, you will need to add set nocompatible too not to lose it - filetype indent plugin on | syn on is not enabled anymore by default for the vim-plug installer: I dont think we should override vim defualts, at least not here since it is shared with neovim. Also sometimes it's enabled before plugins (pathogen etc,) which is not consistent. you can run the tests via $ nix-build -A tests.vim