Commit graph

266 commits

Author SHA1 Message Date
Gabriel Arazas
0b5800a2a2
docs: clean up descriptions (#1061) 2024-02-11 13:51:34 +01:00
Gaetan Lepage
3bbb3d5453 modules/highlights: remove useless mkIf 2024-02-09 11:28:51 +01:00
Gaetan Lepage
eec8d6b1b2 misc: import nixvim modules in a simpler way 2024-02-09 08:15:13 +01:00
Austin Horstman
a181b63aaf
modules/highlights: post -> pre loading (#1016) 2024-02-05 01:00:50 +01:00
Gaetan Lepage
2294a12b0b keymaps: use 'action.__raw' instead of 'lua = true' internally 2024-02-03 18:12:25 +01:00
Gaetan Lepage
c97afcbf82 modules/commands: fix lua cmd.options value when no options are set 2024-01-20 14:48:59 +01:00
Peter Tonner
c795b2ee40 misc: fix python packages option name 2024-01-06 21:17:55 +01:00
Gaetan Lepage
d52f656a8b misc: fix python environment options 2024-01-06 20:11:22 +01:00
Gaetan Lepage
1ab5159acf modules: add python options to specify the python environment 2024-01-06 17:39:17 +01:00
Gaetan Lepage
d88a30fba6 helpers: highlightType -> nixvimTypes.highlight 2024-01-01 23:55:27 +01:00
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