Commit Graph
25 Commits
Author SHA1 Message Date
traxys b3ca52110f maps: Add the remap option (#256) 2023-03-14 23:44:14 +01:00
Alexander Nortung ecfa870c7a bugfix: Set default for programs.nixvim. (#234)
fixes #224
2023-03-09 14:03:50 +01:00
Gaétan Lepage a15c0543a4 modules/keymaps: bind lua function calls (#178) 2023-02-22 23:01:27 +01:00
Gaétan Lepage fc62ff7d4a modules/autocmd: autoCmd.callback: support raw value (#172) 2023-02-20 10:53:18 +00:00
Gaétan Lepage 264de8cefb added formatter + reformat existing codebase (#175) 2023-02-20 10:42:13 +00:00
s1341 6e54dc1143 modules/options: use vim.opt instead of vim.o (#167) 2023-02-14 18:10:53 +00:00
Pedro Alves 0d678ebd9d fix build 2023-02-02 01:34:48 +00:00
Gaétan Lepage 52339f0d58 modules: add autoGroups + refactoring (#147) 2023-02-01 21:25:56 +00:00
Gaétan Lepage c73bef16ab helpers: add mkPackageOption + refactoring (#144) (#150) 2023-01-25 18:46:49 +00:00
Alexander NortungandPedro Alves 63c256dc3d core: show warnings for deprecated or changed options (#129)
* moved helpers to lib folder

* Created proxy file for helpers.nix

* wrappers: removed code duplication

* null-ls: fix wrong name of variable

* added warnings module

* Added assertions

* bufferline: deprecated option

* nvim-tree: renamed options

* Fixed mkRenamedOption

* Bufferline: added new options

* Fixed deprecated option

Co-authored-by: Pedro Alves <pta2002@pta2002.com>
2023-01-24 01:28:01 +00:00
Gaétan Lepage ae7c5f8869 modules/higlights: fix string concatenation (#136) 2023-01-22 12:41:24 +00:00
Pedro Alves d3b63cafbb modules/highlights: fix typo 2023-01-21 17:21:12 +00:00
Gaétan LepageandPedro Alves 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 d0910a6ddb modules: add autocmd (#120) 2023-01-16 23:40:29 +00:00
Gaétan LepageandPedro Alves 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 dd9ec124a2 docs: fix documentation generation 2022-12-29 17:34:54 +00:00
*Kim Zick a7fbb81224 options: add viAlias and vimAlias (#75) 2022-12-08 17:12:57 +00:00
Pedro Alves bd5c46202e nixvim: support highlight groups 2022-11-11 02:15:23 +00:00
Pedro Alves 1a89cd2107 (hopefully) fix #65 2022-11-08 11:19:38 +00:00
3849a1de9a Use init.lua instead of init.vim (#64)
* Use init.lua instead of init.vim

* fix standalone generation

Co-authored-by: cyrusng <cyrus.ng@protonmail.com>
Co-authored-by: Pedro Alves <pta2002@pta2002.com>
2022-11-07 15:59:10 +00:00
Pedro Alves e8ab365a4a fix output module 2022-10-18 23:23:49 +01:00
Luc Chabassier f2a103da30 Allow using global config with hm and nixos (#48)
* remove useless nixvim file

* reorganize flake outputs

* use global config file with home-manager and nixos
2022-10-17 14:08:17 +01:00
Pedro Alves a38d531bf4 set colorscheme before setting globals (#46) 2022-10-17 10:21:37 +01:00
Luc Chabassier 1fe6ab0e08 make sure the runtimepath is set in NixOS 22.05 (#44) 2022-10-07 14:54:04 +01:00
Pedro Alves 4ddd3969e5 nixvim: support standalone nixvim
This represents a major rearchitecture for nixvim, so I'm leaving this up to track the progress for now, and to serve as a reference for any breaking changes during transition.

The main change is, of course, being able to use nixvim standalone. To do this, you should use the new build function, which takes in two arguments: the system architecture (e.g. x86_64-linux) and the configuration. For the new configuration, do not use the programs.nixvim. prefix.

For module development, the main change is that you should no longer prefix your modules with programs.nixvim..
2022-09-18 11:19:23 +01:00