1
0
Fork 0
mirror of https://github.com/NotAShelf/neovim-flake.git synced 2024-12-25 12:39:49 +01:00
Commit graph

168 commits

Author SHA1 Message Date
6425e9cfb0
WIP stuff
Cba with commit messages
2024-10-16 05:42:01 +03:00
bd2743fb45
lib/languages: add mkLspConfig
mkLspConfig generates lspConfig attribute for languagae modules from structured arguments.
2024-10-16 05:30:28 +03:00
raf
79447a0024
Merge branch 'v0.7' into refactor-languages 2024-10-16 04:12:34 +03:00
diniamo
7dbd1cd8d1
treewide: rewrite autocompletion module and related stuff ()
* modules/completion: rewrite

* treewide: remove vsnip, add luasnip

* nvim-cmp: add default sorting

* nvim-cmp: load after luasnip

* lib: fix docs for mergelessListOf

* docs: add changelog entires for rewrite

* deprecations: add rewrite deprecations

* nvim-cmp: clarify in format description

* docs: fix option reference in release notes

* treewide: remove reduant `// {default = false;}`s

* luasnip: add missing `{option}` for option reference

* deprecations: add entry for vsnip

* nvim-autopairs: use multiline string

* nvim-dap: use outer attribute
2024-10-09 17:50:34 +00:00
raf
ef413736e9
Merge branch 'main' into v0.7 2024-10-07 00:40:13 +00:00
Ching Pei Yang
e77632e4eb
lib: remove pointless type restriction () 2024-10-06 23:19:39 +00:00
Charlie Root
bdf777dc8a
feature: add base16 support ()
* modules: add base16 Theming support

theme/theme.nix: fix formatting

supported-themes.nix: formatting

clean up base16-colors.nix

theme: fix plugin setup, change base16 flake input

* theme/theme.nix: fix formatting

* types/theme.nix: add check regex matching

types/theme.nix: fixed regex matching

* lib/types: rename custom.nix to types.nix, mov theme.nix into types.nix

* plugins/theme: apply requested changes

types/types.nix: remove unneeded inherit

theme/theme.nix: remove commented inherit

* theme/theme.nix: fix up base16 helper func

Co-authored-by: diniamo <55629891+diniamo@users.noreply.github.com>

* theme/theme.nix: move listToAttrs inheriting, fix base16-colors declaration

* theme/theme.nix: add documentation to vim.theme.name

* release-notes/rl-0.7.md: add changelog entry for base16

* theme/theme.nix: fix documentation rendering

---------

Co-authored-by: diniamo <55629891+diniamo@users.noreply.github.com>
2024-10-05 16:47:33 +03:00
ecbaecfeac
lib/languages: move mkEnable up & add desc comment 2024-09-26 17:01:27 +03:00
Gerg-L
57be605ed4
lib.neovimConfiguration: deprecated extraModules and configuration ()
* lib.neovimConfiguration: deprecated extraModules and configuration

* docs: various fixes
2024-09-22 22:52:10 +03:00
Ching Pei Yang
b499151527
treewide: standardize border type ()
* ui: allow custom listOf str border type

* lib: extract shared borderType

* remove TODO

* allow ["|" "HighlightGroup"] for border char

* docs: update rl notes

---------

Co-authored-by: raf <raf@notashelf.dev>
2024-09-13 19:34:21 +03:00
diniamo
f9789432f9
treewide: make the entire generated config lua based ()
* 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
diniamo
32d231395f
plugins/visuals(indent-blankline): move to setupOpts ()
* plugins/visuals(indent-blankline): move to setupOpts

* configuration: match indentblankline part with changes
2024-07-12 15:47:33 +00:00
diniamo
901363d1ac
treewide: refactor custom lib, merge lists in hm/nixos module ()
* treewide: refactor custom lib, merge lists in hm/nixos module

* lib/types(custom): clarify anythingConcatLists code

---------

Co-authored-by: raf <raf@notashelf.dev>
2024-07-11 22:49:44 +00:00
diniamo
82d67cbc66
lib/types: expose pluginType () 2024-07-10 21:58:37 +02:00
Gerg-L
8d5f23035d
treewide: cleanup ()
* statix, deadnix, alejandra

* _file

* _module.args

* concatStringsSep "\n" -> concatLines
concatStringsSep "\n" map -> concatMapStringsSep "\n"

* mkShell nativeBuildInputs -> packages
2024-07-08 21:57:58 +00:00
Frothy
68ca227a87 lib: remove alias lib.warn 2024-05-21 07:08:17 -04:00
Frothy
ac20dfbdd4 lib: add deprecation warning for __empty 2024-05-21 06:51:56 -04:00
Ching Pei Yang
af72dc105d lib: remove unused __empty special case in toLuaObject 2024-05-18 14:52:40 +02:00
Ching Pei Yang
8aa3a23e97 lib: do not filter out empty attrs in toLuaObject 2024-05-12 03:17:04 +02:00
Ching Pei Yang
0c4f7a544d lib: fix crash on non-attrset arg 2024-04-27 16:09:27 +02:00
5fa1ee5c2f
Merge pull request from NotAShelf/rename
treewide: rename **neovim-flake** to **nvf**
2024-04-27 13:04:59 +00:00
97a64abeff
treewide: clean up references to neovim-flake 2024-04-27 15:51:22 +03:00
79f0d87ad2
Merge pull request from horriblename/no-str-to-luainline
Remove str to luaInline coercion
2024-04-27 11:32:46 +00:00
Ching Pei Yang
500652d75e types/luaInline: do not coerce strings into luaInline 2024-04-27 02:12:35 +02:00
b614dc6b41
lib/lists: init; add listContainsValue
Helps us validate lists that contain a bunch of values and see if it contains a desired list of values
2024-04-23 16:17:09 +03:00
4997865547
types/plugins: inherit example in pluginsOpt 2024-04-20 18:12:34 +03:00
f3817fb4b2
Merge pull request from horriblename/fix-bad-import
Add rename warnings for nvimTree.setupOpts.*
2024-04-20 14:02:41 +00:00
82499551f3
Merge pull request from horriblename/docs-setupOpts
docs: more detail in setupOpts + migration guide
2024-04-20 13:58:30 +00:00
NotAShelf
433525525d
types/plugins: align mkPluginSetupOption description 2024-04-20 13:48:15 +00:00
Ching Pei Yang
f5270d30a9 fixup! refactor: extract function to lib 2024-04-20 15:15:56 +02:00
Ching Pei Yang
b682148337 docs: format text 2024-04-20 15:09:24 +02:00
Ching Pei Yang
b38886d25d refactor: extract function to lib 2024-04-20 14:59:46 +02:00
Ching Pei Yang
21aa2096e6 docs: explain setupOpts 2024-04-20 02:24:02 +02:00
rycee
f8d564c595
lib: add functions to create DAGs from lists 2024-04-18 21:30:40 +03:00
d2d40362f4
lib/lua: move wrapLuaConfig to lib & structure arguments 2024-04-17 03:00:27 +03:00
cb362a7905
modules/core: move mkSection functions to lib/dag 2024-04-14 14:49:45 +03:00
6011ec2bab
lib: get rid of the redundant let in block 2024-04-14 14:20:15 +03:00
88cf62fbc8
modules: add prefix to plugin builder 2024-04-09 09:55:45 +03:00
859b03dfde
flake: autodiscover plugin inputs 2024-04-08 03:28:49 +03:00
51e28d415a
lib: move global functions to extended lib 2024-04-08 01:36:59 +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
Ching Pei Yang
2d9c1b34c6 cleanup: remove references to nvim-compe 2024-04-04 18:11:29 +00:00
Ching Pei Yang
77d3cd5e0c lib: switch to mkLuaInline 2024-04-04 18:03:29 +00:00
Ching Pei Yang
47acf325d6 dev: add custom type rawLua 2024-04-04 18:03:29 +00:00
db0df5c211
flake: update plugin inputs 2024-04-03 21:13:19 +03:00
Frothy
974bfcc78e treewide: make lib calls explicit 2024-03-23 20:31:33 -04:00
d3f6446541
lib: add pushDownDefault to binds 2024-03-12 03:48:53 +03:00
Frothy
a738083c2f Merge remote-tracking branch 'upstream/v0.6' into which-key-categories 2024-02-26 13:28:37 -05:00
Frothy
a32f13b636 lib: fix trying to call an attrset 2024-02-26 06:51:55 -05:00