Commit graph

256 commits

Author SHA1 Message Date
traxys
af41ea2d80
helpers: move rawType to helpers.nixvimTypes (#871)
This is done in preparation of adding new (lua) types to help the
documentation.
2024-01-01 23:33:53 +01:00
Gaetan Lepage
acc9c8cad1 modules/options: improve documentation 2023-12-29 10:52:24 +01:00
Gaetan Lepage
a7144cfbf7 modules/options: refactoring 2023-12-28 11:52:46 +01:00
Gaetan Lepage
02149dbb01 modules/options: add localOptions and globalOptions 2023-12-28 11:52:46 +01:00
Gaetan Lepage
430c8f672b modules/filetype: code formatting 2023-12-09 22:25:49 +01:00
Gaetan Lepage
903e2a1ccb modules/highlight: use double quotes in examples 2023-12-05 11:27:05 +01:00
Gaetan Lepage
48dd8d28cf modules/keymaps: deprecate maps option 2023-12-02 20:29:07 +01:00
Gaetan Lepage
bbbbfa2774 modules/autocmd: factor out autocmd-helpers 2023-11-14 23:23:30 +01:00
Gaetan Lepage
b6724702b4 misc: refactor imports, prefer adding helpers to args rather than importing it 2023-11-06 16:33:39 +01:00
traxys
541b694873
docs: Allow to install man pages (#687) 2023-11-06 16:26:23 +01:00
Gaetan Lepage
a9698ea2b0 module/keymaps: no need to set options = {} 2023-10-16 14:54:31 +02:00
Gaetan Lepage
7f29aade86 modules/keymaps: remove possibility to add a keymap without an action 2023-10-16 11:08:28 +02:00
Gaetan Lepage
418bf5da17 modules/keymaps: factor out helper functions for use in plugins 2023-10-03 14:18:33 +02:00
Gaetan Lepage
05b77732e3 plugins/which-key: remove which-key logic from keymap module 2023-10-02 15:23:54 +02:00
Gaetan Lepage
574fb73258 modules/keymaps: refactor + new syntax 2023-10-02 15:23:54 +02:00
Gaetan Lepage
85abc48714 modules/autocmd: better handling of 'desc' option rename 2023-10-01 17:28:50 +02:00
Gaetan Lepage
6b4911e67f modules/autocmd: rename autoCmd.*.description to desc 2023-09-29 09:22:05 +02:00
Gaetan Lepage
36a6ab4ba7 helpers: add highlightType and defaultNullOpts.mkHighlight 2023-08-10 15:27:29 +02:00
Pedro Alves
74bd7ee77e
modules/commands: allow creation of user commands (#366) 2023-05-23 14:30:30 +02:00
Tanish2002
efdcbe225f perform some statix linting and fixes 2023-05-22 23:00:53 +02:00
Tanish2002
5fa54c6d39 feat: register mapping with no actions in which-key when enabled 2023-05-21 23:22:10 +02:00
Gaétan Lepage
8a637fc91f
modules/clipboard: add wl-copy provider (#354) 2023-05-04 14:20:52 +02:00
Gaétan Lepage
73e8649b20
modules/clipboard: add new module to manage clipboard option and provider (#346) 2023-04-24 10:38:57 +02:00
traxys
5a498edd14
modules/output: Allow to specify text to add as extra files (#343)
To enable some features (like adding tree-sitter queries) we need to add
files to specific directories in the runtime path (queries/lang/file.scm
for tree-sitter queries for example).

This commit adds support for specifying such files. You must be careful
to not have any collisions between `files` and `extraFiles`.
2023-04-21 20:04:58 +02:00
Luc Chabassier
a6eec507cc
Enable creation of other config files than init.lua (#246) 2023-04-20 22:41:37 +02:00
Gaétan Lepage
a9e3ff3f73
modules/lua-loader: add support for the new lua-loader (#336) 2023-04-15 16:32:10 +02:00
traxys
121566a267
editorconfig: Migrate to builtin plugin (#335) 2023-04-15 15:21:25 +02:00
Gaétan Lepage
bd81037c5f
modules/keymaps: fix bug in keymaps generation (#300) 2023-04-04 18:34:05 +02:00
traxys
cbae935d89
filetype: Add a module to wrap vim.filetype.add (#277) 2023-03-24 11:14:12 +01:00
Gaétan Lepage
db5061b4db
tests/plugins: refactor (#235) 2023-03-22 07:42:02 +01:00
traxys
bd4384a2e5
plugin/luasnip: Add jsregexp lua dependency (#274)
The lua dependency is required to perform transforms (luasnip can
fallback to a simpler algorithm if it's absent). This requires us to
expose the `extraLuaPackages` option of makeNeovimConfig.
2023-03-18 22:44:34 +01:00
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 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