Commit graph

731 commits

Author SHA1 Message Date
poz
fd65c83956
plugins/new-file-template: init module (#350)
* plugins/new-file-template: init module

* docs: add release note entry about new-file-template.nvim

* docs: update jacekpoz's link

* plugins/new-file-template: remove _: in default.nix

* plugins/new-file-template: add example for disableSpecific

* plugins/new-file-template: add docs on how to add custom templates

* plugins/new-file-template: fix disableSpecific example

* plugins/new-file-template: improve documentation

* plugins/new-file-template: remove redundant example

* plugins/new-file-template: more compact docs

* plugins/new-file-template: more doc improvements

* plugins/new-file-template: fix formatting issue
2024-08-08 18:45:33 +00:00
Ching Pei Yang
0984e84444
wrapper: fix additionalRuntimePaths lua script (#349) 2024-07-29 14:02:00 +00:00
Gerg-L
589b86d378
fix buildPlug patches, update mnw (#343)
* bald frog (gerg-l)

* modules/default.nix: make patches work on built plugins

* flake.lock: Update

Flake lock file updates:

• Updated input 'mnw':
    'github:Gerg-L/mnw/302b18ddb8498aa9a7e0c01f7026e49d545e6898?narHash=sha256-4Z2FtCuL0lT%2BsM2gb1JMcXOUkeYrWeYZjjs1HuVTlOs%3D' (2024-07-14)
  → 'github:Gerg-L/mnw/4ea225024677e7c3a96080af8624fd3aa5dfa1b6?narHash=sha256-PF/FbgCUZ6mQrKp28G2YoVDlSThBy8AxIT9d2Ju3kTY%3D' (2024-07-20)

---------

Co-authored-by: raf <raf@notashelf.dev>
2024-07-21 15:37:45 +00:00
2b8d0af2e6
modules: add meta.mainProgram to symlinkJoined Neovim wrapper 2024-07-20 16:55:56 +03:00
raf
8b15271f63
modules: add helper scripts (#346)
* modules: add helpers to display init.lua and its store path

* docs: update 0.7 release notes

* modules: use writeDashBin for helpers
2024-07-20 13:01:40 +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
Ching Pei Yang
9c93e9a9c0
Switch to rustaceanvim (#335)
* flake: use rustaceanvim instead of rust-tools

* rust: switch to rustaceanvim

* docs: update release notes

* flake: update nixpkgs

* docs: wording

---------

Co-authored-by: raf <raf@notashelf.dev>
2024-07-18 11:48:28 +02:00
Frothy
0f17147d52
modules: fix unused src and version attrs in buildPlug (#340)
* modules: fix unused src and version attrs in buildPlug

* docs: add entry for buildPlug fix
2024-07-16 08:00:50 +00:00
raf
a4d35b4419
plugins/neo-tree: init module (#248)
* plugins/neo-tree: init module

* filetree/neo-tree: add setup options until border styles

* plugins/filetree: rename module name

* docs: update changelogs

Mention the addition of neo-tree.
2024-07-14 18:30:12 +00:00
Gerg-L
1426c83ce6
gerg: switch to new repo (#338)
* gerg: switch to new repo

* modules/default: fix buildPlug
2024-07-14 03:47:21 +00:00
Gerg-L
ce0b361bca
flake.lock: update neovim-wrapper (#336)
* flake.lock: update neovim-wrapper

* modules/default: half size of plugins
2024-07-13 22:04:10 +00:00
raf
5fab82ba91
modules: switch to gerg's neovim-wrapper (#325)
* modules: switch to gerg's neovim-wrapper

* Use initViml instead of writeText (#330)

---------

Co-authored-by: diniamo <55629891+diniamo@users.noreply.github.com>
2024-07-13 15:05:21 +00:00
diniamo
32d231395f
plugins/visuals(indent-blankline): move to setupOpts (#329)
* 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 (#323)
* 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
Ching Pei Yang
0c444830f6
lualine: use mkDefault on backwards compat configs (#318)
Co-authored-by: Pei Yang Ching <pei.ching@check24.de>
2024-07-10 21:07:04 +00:00
Ching Pei Yang
9b48c30e20
Feat noice setup opts (#297)
* noice: add setupOpts

* noice: add filter

* noice: use setupOpts

* docs: update release notes

* noice: allow null option

* noice: add descriptions for some options
2024-07-10 21:02:48 +00:00
0dca62eaa2
languages/ts: use typescript-language-server from top-level 2024-07-10 12:44:54 +03:00
Ching Pei Yang
8071bfdb72
Fix typos (#326)
* fix: typo

* docs: wrong link
2024-07-09 23:37:07 +00:00
Gerg-L
8d5f23035d
treewide: cleanup (#324)
* 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
diniamo
f1849c0ce5
languages/clang: use clangd by default (#321) 2024-07-06 19:14:36 +00:00
Ching Pei Yang
3f5ed9e979
languages/go: use dap-go for dap configurations (#319)
* deps: add nvim-dap-go

* go: use dap-go plugin for dap configurations

* docs: update release notes

---------

Co-authored-by: Pei Yang Ching <pei.ching@check24.de>
2024-07-03 18:42:26 +00:00
diniamo
72ff44c1eb tabline/bufferline: fix default value of highlights 2024-06-28 16:09:19 +02:00
diniamo
dde2b5cac4 tabline/bufferline: add missing separator_style variations 2024-06-27 10:03:22 +02:00
diniamo
d9a62eff17 fixup! tabline/bufferline: add separator_style 2024-06-27 10:03:22 +02:00
diniamo
7df75f5b55 tabline/bufferline: fix grammar mistakes 2024-06-27 10:03:22 +02:00
diniamo
71064e8865 tabline/bufferline: enable auto_toggle_bufferline by default
This is due because this function is also used to show the bar intially.
2024-06-27 10:03:22 +02:00
diniamo
42447cd3bf tabline/bufferline: add highlights 2024-06-27 10:03:22 +02:00
diniamo
c66854fc7f tabline/bufferline: add separator_style 2024-06-27 10:03:21 +02:00
diniamo
187d924509 tabline/bufferline: fix default mode 2024-06-27 10:03:21 +02:00
diniamo
83b7632297 tabline/bufferline: add back bindings 2024-06-27 10:03:21 +02:00
diniamo
c96181e739 tabline/bufferline: add missing options 2024-06-27 10:03:21 +02:00
954470581e tabline/bufferline: convert to setupOpts
this is pretty much WIP and contains a bunch of bugs that I haven't tackled yet.
2024-06-27 10:03:21 +02:00
raf
b0af809b95
Merge pull request #320 from diniamo/catppuccin-set-term-colors
themes/catppuccin: set term colors
2024-06-26 17:55:36 +00:00
1bb901edeb
languages/clang: unpin clang-tools package 2024-06-25 22:32:12 +03:00
diniamo
bb2a78272b themes/catppuccin: set term colors 2024-06-25 19:19:58 +02:00
diniamo
a145f997f3 modules/autopairs: use boolToString instead of toLuaObject 2024-06-25 14:01:44 +02:00
diniamo
c2c85d70ee modules/nvim-cmp: add edge case for autopairs in cr mapping 2024-06-25 11:06:18 +02:00
Frothy
2e99a21010 ui/smartcolumn: change custom_colorcolumn type to expected type string 2024-06-24 14:23:55 -04:00
f00ecd4eb9
languages/ts: add ts-error-translator.nvim as an extension plugin 2024-06-24 20:05:57 +03:00
diniamo
8a0cddd9bb languages/rust: add format 2024-06-24 19:02:04 +02:00
raf
923481640e
Merge pull request #306 from diniamo/fix-theme-dag
modules/theme: fix dag location
2024-06-24 16:29:53 +00:00
jacekpoz
d873bc0667
plugins/orgmode: remove deprecated ts setup call 2024-06-23 15:14:10 +02:00
95615ec308
flake: update nixpkgs; use new bash-language-server pkg 2024-06-21 02:18:54 +03:00
diniamo
d6cd853520 modules/theme: fix dag location 2024-06-16 13:46:20 +02:00
diniamo
a437dbd158 which-key: allow null in registers 2024-06-12 01:24:03 +02:00
Phan Đăng Khoa
68b0647936
languages: changed python lsp package to pyright 2024-06-09 15:57:55 +07:00
c50522f6b0
languages: avoid using package aliases 2024-06-08 19:44:25 +03:00
jacekpoz
8eb8326bd6
plugins/orgmode: fix typo 2024-06-08 17:58:08 +02:00
Frothy
08547724e4
modules/theme: use inherited optionalString 2024-05-25 20:37:51 +03:00
Frothy
fc4e471490 theme: add minimal transparency support for oxocarbon 2024-05-23 10:28:04 -04:00
f9343f1bc7
statusline/lualine: equalize padding 2024-05-23 03:20:21 +03:00
raf
6624841e63
Merge pull request #283 from horriblename/fix-colorizer
Fix colorizer
2024-05-22 01:22:05 +00:00
Ching Pei Yang
9baebb0d82 colorizer: remove unneeded freeform module 2024-05-21 22:55:54 +02:00
Frothy
2c9a9b4d29
Merge pull request #289 from horriblename/lua-include-empty-attrs
lib: do not filter out empty attrs in toLuaObject
2024-05-21 07:16:03 -04:00
Ching Pei Yang
af72dc105d lib: remove unused __empty special case in toLuaObject 2024-05-18 14:52:40 +02:00
9d0247c599
statusline/lualine: add a left separator to the searchcount component 2024-05-17 19:10:58 +03:00
f0f2c08e9f
lsp/null-ls: use string type for diagnostic format 2024-05-16 19:35:19 +03:00
cfbed8ceb1
modules/wrapper: remove redundant instances of literalExpression 2024-05-16 19:13:44 +03:00
1ce25d7ca3
modules: reorder args 2024-05-16 19:11:39 +03:00
eefc7a9d1d
lsp/null-lsp: allow null-ls options to be configured
This should probably still be converted to setupOpts. Missing docs
2024-05-16 19:11:37 +03:00
raf
74df3a5f03
Merge pull request #292 from jacekpoz/main
languages/ocaml: init
2024-05-16 13:32:44 +00:00
jacekpoz
7224c1e6af
languages/ocaml: add ocaml to maximal config 2024-05-16 14:39:43 +02:00
jacekpoz
f343ab8b3a
languages/ocaml: add formatter to nvf's env 2024-05-16 14:25:23 +02:00
jacekpoz
208d1e6741
languages/ocaml: follow other languages' format 2024-05-16 14:25:07 +02:00
493854e44f
lualine: improve consistency between components; add more diagnostic sources 2024-05-16 07:45:15 +03:00
jacekpoz
cc0aba4e21
languages/ocaml: add formatting support 2024-05-15 21:09:46 +02:00
jacekpoz
db810bbf9f
languages/ocaml: init 2024-05-15 20:40:15 +02:00
b5f38b8e5e
lualine: increase theme compatibility; fix component definitions 2024-05-15 13:09:45 +03:00
Ching Pei Yang
7d9f1e0481 colorizer: add example 2024-05-12 03:15:04 +02:00
Ching Pei Yang
82e92a56da colorizer: move back to setupOpts 2024-05-12 02:11:59 +02:00
Ching Pei Yang
981fe07075 colorizer: allow null for all options 2024-05-12 01:46:57 +02:00
407ecf00d5
wrapper/rc: add vim.additionaLuafiles
Allows the user to specify a list of lua files that will be called via `luafile`. All paths
that are passed to this option are checked by `builtins.isPath` so attempting to source paths
that do not exist do not result in a broken Lua configuration.
2024-05-09 00:44:58 +03:00
ea5f229efd
languages/markdown: convert extra ft list to lua table 2024-05-08 00:31:23 +03:00
41f7abcdc3
languagess/markdown: add missing config section 2024-05-08 00:22:12 +03:00
544c98a03b
Merge branch 'main' of github.com:NotAShelf/nvf into minor-lang-refactor 2024-05-07 01:04:47 +03:00
e96897f6b3
languages/elixir: readd; format module options 2024-05-07 00:52:33 +03:00
bf090172d2
modules/extra: init deprecations module; warn for elixir & vim-tidal 2024-05-06 23:43:34 +03:00
6eba2a5585
languages: move bash & dart configurations to standalone files 2024-05-06 23:43:32 +03:00
1847b9f1bf
languages/tidal: remove 2024-05-06 23:43:31 +03:00
d06ff3d7db
languages/markdown: move to standalone file; add deno formatter 2024-05-06 23:43:30 +03:00
Frothy
83583e9b64 plugins/lsp: filter out null mappings 2024-05-06 16:05:43 -04:00
Frothy
9fe96ce010 utility/telescope: remove duplicate telescope module 2024-05-06 08:46:04 -04:00
Pei Yang Ching
3ad560ea30 treesitter: fix ts context keybinds 2024-05-05 02:37:57 +02:00
Pei Yang Ching
2c37513012 colorizer: fix nonsense options 2024-05-05 02:18:19 +02:00
Frothy
4df41ae0d0 visuals/fidget: use submodule for notification group overrides 2024-05-01 23:19:44 -04:00
ItsSorae
4056deb411 languages/typst: add typst language support 2024-04-28 15:07:41 -04:00
Ching Pei Yang
8c5a63e72c treesitter: cleanup unused 2024-04-28 12:23:59 +02:00
Ching Pei Yang
636eba77d7 treesitter: fix example 2024-04-28 12:23:41 +02:00
Ching Pei Yang
f0631c2d26 fidget: do not apply mkLuaInline to str opts 2024-04-27 16:09:27 +02:00
Ching Pei Yang
c220da2af9 fidget: remove ineffectful option
whether you set clear_on_detach to true or false you still get the
default behaviour
2024-04-27 16:09:27 +02: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
aaf286dce4
modules: fix merge conflicts 2024-04-27 16:13:19 +03:00
b397dcb430
Merge branch 'main' into v0.6 2024-04-27 16:09:37 +03:00
97a64abeff
treewide: clean up references to neovim-flake 2024-04-27 15:51:22 +03:00
a56aa7b6e2
notifications/nvim-notify: add render opt; update trace symbol 2024-04-27 00:21:27 +03:00
bba0ba92a6
Merge pull request #261 from NotAShelf/treesitter
plugins/treesitter: migrate legacy codebase; refactor
2024-04-26 14:14:31 +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
616c00ab46
plugins/treesitter: generate Lua configuration from Nix 2024-04-28 21:04:28 +03:00
c8d38872ab
plugins/treesitter: migrate treesitter-context to new setupOpts 2024-04-28 20:19:25 +03:00
5246cf50de
plugins/theme: enable ts-context support for Catppuccin 2024-04-25 01:52:19 +03:00