Commit graph

6 commits

Author SHA1 Message Date
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
raf
e40d7a2a56
neovim/basic: add undofile options (#367)
`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
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
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
43263040a4
treewide: restructure modules directory; add comments to modules top-level import 2024-04-20 18:12:36 +03:00
Renamed from modules/neovim/basic/configrc.nix (Browse further)