summaryrefslogtreecommitdiff
path: root/pkgs/test/vim (follow)
Commit message (Expand)AuthorAgeFilesLines
* treewide: format all inactive Nix files•••After final improvements to the official formatter implementation, this commit now performs the first treewide reformat of Nix files using it. This is part of the implementation of RFC 166. Only "inactive" files are reformatted, meaning only files that aren't being touched by any PR with activity in the past 2 months. This is to avoid conflicts for PRs that might soon be merged. Later we can do a full treewide reformat to get the rest, which should not cause as many conflicts. A CI check has already been running for some time to ensure that new and already-formatted files are formatted, so the files being reformatted here should also stay formatted. This commit was automatically created and can be verified using nix-build https://github.com/infinisil/treewide-nixpkgs-reformat-script/archive/a08b3a4d199c6124ac5b36a889d9099b4383463f.tar.gz \ --argstr baseRev 57b193d8ddeaf4f5219d2bae1d23b081e4906e57 result/bin/apply-formatting $NIXPKGS_PATH Silvan Mosberger2024-12-101-3/+11
* treewide: remove unused lib (and other) argumentsSigmanificient2024-07-261-4/+1
* treewide: remove unused occurence of fetchFromGitHub argumentisabel2024-05-301-1/+1
* vimUtils: buildVimPluginFrom2Nix renamed to buildVimPlugin•••the `from2Nix` suffix is a legacy from vim2nix but we dont use that anymore. It makes the name of the function unusual and long. Matthieu Coudron2023-09-271-1/+1
* vim-full: rename from vim_configurable•••Avoids confusion: `vim-full`'s build-time features are configurable, but both `vim` and `vim-full` are *customizable* (in the sense of user configuration). Naïm Favier2022-12-091-3/+3
* vimUtils: remove vam support•••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 Matthieu Coudron2022-07-101-32/+0
* vimUtils: deprecate configure.pathogen (#154814)•••pathogen does not bring any value compared to vim native packages so remove it to ease maintainance burden.Matthieu Coudron2022-06-131-5/+0
* neovim.tests: remove aliasSandro2022-01-201-1/+1
* neovim.tests: added more tests•••to check for creation of vi/vim aliases. These tests also now follow the coding conventions of having tests in passthru.test . Matthieu Coudron2021-06-092-111/+3
* neovim: add some tests•••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 Matthieu Coudron2021-06-072-6/+67
* neovim: fix neovim.override (#124785)•••* neovim: temporary revert to unbreak user configs Newly introduced "plugins" parameter is disabled until we get a better testing infrastructure to minimize breaking changes.Matthieu Coudron2021-05-291-0/+9
* wrapNeovimUnstable: accept a wrapRc boolean•••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) Matthieu Coudron2021-05-251-5/+3
* neovimUtils: makeNeovimConfig accepts plugins/customRc•••mimics home-manager interface and makes it easier to associate configs with plugins. Added a test as well. Matthieu Coudron2021-05-251-2/+33
* tests.vim: init (moved from vim-utils.nix) (#119467)•••* 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.vimMatthieu Coudron2021-04-211-0/+72