Commit graph

30 commits

Author SHA1 Message Date
Ching Pei Yang
745da4539e
keymaps: fix null key problems 2024-12-05 00:09:40 +01:00
a6a06f4e72
modules/{neovim,wrapper}: move Vim options to vim.options defaults 2024-12-01 10:09:13 +03:00
864ee05f57
wrapper/rc: set vim.options and vim.globals to freeform submodules 2024-12-01 09:39:52 +03:00
0e45c70fb9
neovim/init: set basic options via vim.options
Less DAGs, more customizability.
2024-12-01 09:37:05 +03:00
diniamo
71de14149d init/basic: deprecate vim.leaderKey
in favour of `vim.globals.mapleader` and `vim.globals.maplocalleader`

tmp

Co-authored-by: raf <raf@notashelf.dev>
2024-11-30 10:29:35 +01:00
81eda5b340
neovim/spellcheck: add autogroup to spellcheck fts autocmd; fix vim-dirtytalk 2024-11-06 19:33:08 +03:00
f429379e34
docs: update release notes 2024-11-06 19:33:06 +03:00
688bb8d9ba
spellcheck: allow adding arbitrary spellfiles from name-value pairs 2024-11-06 19:32:58 +03:00
Ching Pei Yang
b39b84490f
Docs/map rewrite (#403)
* doc: fix formatting

* docs: update keymaps section
2024-10-06 14:03:21 +00:00
Ching Pei Yang
b637f921d5
maps: allow same key on multiple mode (#360)
* mappings: add new keymap option

* mappings: impl keymap option

* doc: update release notes

* map: fix misinformation

* map: remove redundant variable

* fixup! mappings: impl keymap option
2024-10-06 11:23:01 +02:00
raf
141a272747
Merge branch 'main' into v0.7 2024-09-24 10:54:31 +00:00
raf
e40d7a2a56
neovim/basic: add undofile options (#367)
Some checks are pending
Set up binary cache / cachix (default) (push) Waiting to run
Set up binary cache / cachix (maximal) (push) Waiting to run
Set up binary cache / cachix (nix) (push) Waiting to run
Validate flake & check formatting / Validate Flake (push) Waiting to run
Validate flake & check formatting / Formatting via Alejandra (push) Waiting to run
`vim.undoFile.enable` and `vim.undoFile.path` can be used to manipulate whether undofile will be enabled, and the location if it is enabled.
2024-09-19 22:07:25 +03:00
Ching Pei Yang
e40cce5653
fix: map descriptions (#358)
* remove unused

* maps: fix missing description
2024-08-17 13:08:47 +02:00
Ching Pei Yang
2fc7dc798b
Re-add old maps API (#356)
* wrapper: fix wrong import source

* wrapper: fix typo

* Revert "lib/binds: improve code, adjust functions to new api"

This reverts commit 6cb57e1d26.

* mappings: re-add legacy vim.maps API

* mappings: fix wrong submodule syntax

* docs: fix missing section id
2024-08-13 00:27:05 +02:00
diniamo
b71bf75dcd
vim.maps rewrite (#352)
* feat: rewrite vim.maps

* modules/mappings: enable silent by default

* docs: add entry for vim.maps rewrite

* lib/binds: improve code, adjust functions to new api
2024-08-12 00:07:45 +00:00
diniamo
f9789432f9
treewide: make the entire generated config lua based (#333)
* modules: switch to gerg's neovim-wrapper

* modules: use initViml instead of writing the file

* treewide: make the entire generated config lua based

* docs: remove mentions of configRC

* plugins/treesitter: remove vim.cmd hack

* treewide: move resolveDag to lib

* modules/wrapper(rc): fix typo

* treewide: migrate to pluginRC for correct DAG order

The "new" DAG order is as follows:
- (luaConfigPre)
- globalsScript
- basic
- theme
- pluginConfigs
- extraPluginConfigs
- mappings
- (luaConfigPost)

* plugins/theme: fix theme DAG place

* plugins/theme: fix fixed theme DAG place

* modules/wrapper(rc): add removed option module for configRC

* docs: add dag-entries chapter, add release note entry

* fix: formatting CI

* languages/nix: add missing `local`

* docs: fix page link

* docs: add mention of breaking changes at the start of the release notes

* plugins/neo-tree: convert to pluginRC

* modules/wrapper(rc): add back entryAnywhere

* modules/wrapper(rc): expose pluginRC

* apply raf patch

---------

Co-authored-by: NotAShelf <raf@notashelf.dev>
2024-07-20 08:30:48 +00:00
1740b437c0
neovim/spellcheck: disable programming wordlist
errors as it cannot download its spellfile. needs to be fixed
2024-04-27 16:22:42 +03:00
97a64abeff
treewide: clean up references to neovim-flake 2024-04-27 15:51:22 +03:00
694012dbd8
neovim/init: override vim syntax highlighting with Treesitter
see: «https://github.com/nvim-treesitter/nvim-treesitter/issues/2254»
2024-04-30 08:08:54 +03:00
2680be20a3
neovim/debug: handle debug log path correctly 2024-04-23 14:55:11 +03:00
eb8d75a4ae
modules/neovim: move all mapping options to 2024-04-21 02:27:42 +03:00
d9a984bf6f
modules/wrapper: move RC features to wrapper/rc 2024-04-21 02:10:06 +03:00
4d8dcc7e49
modules/neovim: rename vim.spellChecking to vim.spellcheck
more consistent this way
2024-04-20 19:00:20 +03:00
43263040a4
treewide: restructure modules directory; add comments to modules top-level import 2024-04-20 18:12:36 +03:00
6eea801cd6
neovim/spellcheck: allow disabling spellchecking for filetypes 2024-04-20 18:12:35 +03:00
011e6c0c8b
neovim/basic: remove option list in lineNumberMode opt description 2024-04-14 15:09:13 +03:00
b4384a833f
modules: move vim-dirtytalk to plugins/spellcheck 2024-04-14 14:43:18 +03:00
576429ba5c
basic/spellcheck: pass a string to literalExpression 2024-04-14 14:19:43 +03:00
a12ba5689a
lib: move all binding related functions to lib/binds 2024-04-07 18:31:06 +03:00
7c730a78e5
treewide: begin restructuring the module tree 2024-04-07 17:16:13 +03:00