Commit graph

266 commits

Author SHA1 Message Date
Alexander Nortung
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 Lepage
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 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
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
dfangx
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