Commit graph

910 commits

Author SHA1 Message Date
356f92053c
neovim/init: merge conditionals in options set
Some checks failed
Check for typos in the source tree / check-typos (push) Has been cancelled
2025-01-07 06:12:13 +03:00
raf
b704a28a12
Merge branch 'main' into more-option-stuff 2025-01-07 05:47:59 +03:00
Ching Pei Yang
c071f2caa2
nvimtree: remove unnecessary import 2025-01-06 11:45:02 +01:00
Ching Pei Yang
92e38fbfae
aerial: init 2025-01-06 11:44:48 +01:00
raf
9888a277ad
git/gitsigns: migrate to setupOpts (#524)
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 documentation / Validate Flake Documentation (docs) (push) Waiting to run
Validate flake & check documentation / Validate Flake Documentation (docs-html) (push) Waiting to run
Validate flake & check documentation / Validate Flake Documentation (docs-json) (push) Waiting to run
Validate flake & check documentation / Validate Flake Documentation (docs-manpages) (push) Waiting to run
Validate flake & check documentation / Validate hyperlinks in documentation sources (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
Build and deploy documentation / Check latest commit (push) Waiting to run
Build and deploy documentation / publish (push) Blocked by required conditions
Check for typos in the source tree / check-typos (push) Waiting to run
* git/gitsigns: add `setupOpts` module option for user-specified setup table

* docs: update v0.8 release notes
2025-01-06 03:54:38 +03:00
5749739e4b
wrapper/rc: clean up option documentation
Some checks failed
Check for typos in the source tree / check-typos (push) Has been cancelled
2025-01-04 16:08:53 +03:00
85347de09d
utility/gesture-nvim: convert to vim.options 2025-01-04 16:08:11 +03:00
b67759273b
neovim/spellcheck: convert to vim.options 2025-01-04 15:52:27 +03:00
fcc6aa485c
utility/wakatime: move plugin options to vim.globals; cleanup 2025-01-04 15:29:11 +03:00
diniamo
af0eed84e0 wrapper/build: improve noBuildPlug 2025-01-02 07:18:31 +01:00
Ching Pei Yang
8c1352502a module: remove redundant code
the bulk of the build step is moved to modules/wrapper/build
2025-01-02 04:12:04 +03:00
Ching Pei Yang
26398b6b14 wrapper: add built package as option 2025-01-02 04:12:04 +03:00
Ching Pei Yang
f9d1684b5f wrapper: rename build dir to environemnt 2025-01-02 04:12:04 +03:00
raf
8febf44422
languages/markdown: add render-markdown.nvim as an extension (#517)
Some checks failed
Set up binary cache / cachix (default) (push) Has been cancelled
Set up binary cache / cachix (maximal) (push) Has been cancelled
Set up binary cache / cachix (nix) (push) Has been cancelled
Validate flake & check documentation / Validate Flake Documentation (docs) (push) Has been cancelled
Validate flake & check documentation / Validate Flake Documentation (docs-html) (push) Has been cancelled
Validate flake & check documentation / Validate Flake Documentation (docs-json) (push) Has been cancelled
Validate flake & check documentation / Validate Flake Documentation (docs-manpages) (push) Has been cancelled
Validate flake & check documentation / Validate hyperlinks in documentation sources (push) Has been cancelled
Validate flake & check formatting / Validate Flake (push) Has been cancelled
Validate flake & check formatting / Formatting via Alejandra (push) Has been cancelled
Build and deploy documentation / Check latest commit (push) Has been cancelled
Check for typos in the source tree / check-typos (push) Has been cancelled
Build and deploy documentation / publish (push) Has been cancelled
2024-12-31 04:02:13 +00:00
diniamo
672630f680 flake: update run.nvim 2024-12-25 15:11:29 +01:00
raf
edc887f0e3
Merge branch 'main' into nvim-notify-explicit-function 2024-12-25 00:51:18 +03:00
diniamo
a34d104e3f
languages/zig: disable lsp autosave (#511)
Some checks failed
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
Build and deploy documentation / Check latest commit (push) Waiting to run
Build and deploy documentation / publish (push) Blocked by required conditions
Check for typos in the source tree / check-typos (push) Waiting to run
Validate flake & check documentation / Validate Flake Documentation (docs) (push) Has been cancelled
Validate flake & check documentation / Validate Flake Documentation (docs-html) (push) Has been cancelled
Validate flake & check documentation / Validate Flake Documentation (docs-json) (push) Has been cancelled
Validate flake & check documentation / Validate Flake Documentation (docs-manpages) (push) Has been cancelled
Validate flake & check documentation / Validate hyperlinks in documentation sources (push) Has been cancelled
2024-12-24 14:19:08 +03:00
diniamo
f6a8cd968e nvim-notify: use explicit function for vim.notify 2024-12-24 11:43:23 +01:00
DamitusThyYeetus123
3a2edd1b75
filetree/nvim-tree: Open on directory (#462)
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
Build and deploy documentation / Check latest commit (push) Waiting to run
Build and deploy documentation / publish (push) Blocked by required conditions
Check for typos in the source tree / check-typos (push) Waiting to run
* nvim-tree: Add directory opening

* formatting

* Fix formatting

* format

Co-authored-by: raf <raf@notashelf.dev>

---------

Co-authored-by: Ching Pei Yang <59727193+horriblename@users.noreply.github.com>
Co-authored-by: raf <raf@notashelf.dev>
2024-12-23 08:56:19 +00:00
diniamo
90a5a42742 languages/odin: init 2024-12-21 10:35:39 +01:00
raf
f26744c6ce
Merge branch 'main' into lazy-before-setup 2024-12-21 08:15:08 +03:00
raf
8c66f10550
Merge branch 'main' into fix-haskell 2024-12-21 08:14:31 +03:00
Artur Manuel
0946d43921 languages/haskell: fix DAP command definition 2024-12-21 01:00:02 +00:00
diniamo
7eb8d07bcf surround: cleanup 2024-12-21 01:14:52 +01:00
raf
af31021ce4
Merge branch 'main' into fix-mdpw-ft
Some checks failed
Check for typos in the source tree / check-typos (push) Has been cancelled
2024-12-20 20:00:57 +03:00
diniamo
5d898da816 nvim-notify: fix some stuff 2024-12-20 16:27:44 +01:00
diniamo
ed69816f68 wrapper/lazy: add beforeSetup option
Useful for avoiding a million require calls in setupOpts.
2024-12-20 10:43:36 +01:00
Yoni Firroloni
99a4eafa34
languages/typescript: prevent ts_ls from formatting (#495)
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 documentation / Validate Flake Documentation (docs) (push) Waiting to run
Validate flake & check documentation / Validate Flake Documentation (docs-html) (push) Waiting to run
Validate flake & check documentation / Validate Flake Documentation (docs-json) (push) Waiting to run
Validate flake & check documentation / Validate Flake Documentation (docs-manpages) (push) Waiting to run
Validate flake & check documentation / Validate hyperlinks in documentation sources (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
Build and deploy documentation / Check latest commit (push) Waiting to run
Build and deploy documentation / publish (push) Blocked by required conditions
Check for typos in the source tree / check-typos (push) Waiting to run
* ts_ls: prevent from formatting

prevent ts_ls from touching the formating.

ts formatting: remove useless indent

* fix unnecessary whitespace

---------

Co-authored-by: raf <raf@notashelf.dev>
2024-12-20 04:11:18 +00:00
Artur Manuel
e715463257
plugins/languages: add haskell support (#499)
* plugins/languages: add haskell support

Closes #426

* fix docs

---------

Co-authored-by: Artur Manuel <balkenix@outlook.com>
Co-authored-by: raf <raf@notashelf.dev>
2024-12-20 03:50:38 +00:00
4f61628399
preview/markdown-preview: convert mkdp_filetypes to correct format
Some checks failed
Check for typos in the source tree / check-typos (push) Has been cancelled
2024-12-19 09:53:15 +03:00
a0a57757a0
wrapper/rc: explicitly add tabstop & shiftwidth to vim.options
Some checks failed
Set up binary cache / cachix (default) (push) Has been cancelled
Set up binary cache / cachix (maximal) (push) Has been cancelled
Set up binary cache / cachix (nix) (push) Has been cancelled
Validate flake & check formatting / Validate Flake (push) Has been cancelled
Validate flake & check formatting / Formatting via Alejandra (push) Has been cancelled
Build and deploy documentation / Check latest commit (push) Has been cancelled
Check for typos in the source tree / check-typos (push) Has been cancelled
Build and deploy documentation / publish (push) Has been cancelled
Defaults are taken from Neovim's :help tags for those options to avoid intrusive/confusing behaviour.
2024-12-12 20:16:27 +03:00
66005a51c3
wrappr/rc: allow strings in vim.options.signcolumn
Some checks failed
Check for typos in the source tree / check-typos (push) Has been cancelled
2024-12-11 00:08:48 +03:00
c19c925f1d
modules/neovim: avoid interpolating strings for vim.preventJunkFiles 2024-12-11 00:01:51 +03:00
07f50e84eb
modules/neovim: deprecate vim.showSignColumn
Prefer the type-safe `vim.options` equivalent.
2024-12-11 00:01:51 +03:00
0650aa31ac
modules/neovim: deprecate vim.enableEditorconfig option
Deprecate shorthand EditorConfig toggle, and encourage the more powerful `vim.globals` option.
2024-12-11 00:01:49 +03:00
Omar Abragh
73660af2e3
lightbulb: add setupOpts option (#492)
Some checks failed
Set up binary cache / cachix (default) (push) Has been cancelled
Set up binary cache / cachix (maximal) (push) Has been cancelled
Set up binary cache / cachix (nix) (push) Has been cancelled
Validate flake & check documentation / Validate Flake Documentation (docs) (push) Has been cancelled
Validate flake & check documentation / Validate Flake Documentation (docs-html) (push) Has been cancelled
Validate flake & check documentation / Validate Flake Documentation (docs-json) (push) Has been cancelled
Validate flake & check documentation / Validate Flake Documentation (docs-manpages) (push) Has been cancelled
Validate flake & check documentation / Validate hyperlinks in documentation sources (push) Has been cancelled
Validate flake & check formatting / Validate Flake (push) Has been cancelled
Validate flake & check formatting / Formatting via Alejandra (push) Has been cancelled
Build and deploy documentation / Check latest commit (push) Has been cancelled
Check for typos in the source tree / check-typos (push) Has been cancelled
Build and deploy documentation / publish (push) Has been cancelled
Co-authored-by: Ching Pei Yang <59727193+horriblename@users.noreply.github.com>
Co-authored-by: raf <raf@notashelf.dev>
2024-12-11 00:00:51 +03:00
c3a4686fa1
wrapper/rc: use mkOption in enableLuaLoader description
`mkEnableOption` seems to be clobbering the markdown syntax.
2024-12-10 23:35:57 +03:00
raf
0327918278
Merge branch 'main' into typst-preview 2024-12-10 16:35:07 +03:00
48bcd5d695
visuals/indent-blankline: properly pass setupOpts to mkPluginSetupOption
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
Build and deploy documentation / Check latest commit (push) Waiting to run
Build and deploy documentation / publish (push) Blocked by required conditions
Check for typos in the source tree / check-typos (push) Waiting to run
2024-12-09 17:59:19 +03:00
a369352365
languages/typst: add typst-preview.nvim as an extension 2024-12-09 09:28:23 +03:00
Omar Abragh
fca55e1db1
lualine: fix builtin_themes list (#486)
Co-authored-by: raf <raf@notashelf.dev>
2024-12-09 05:45:08 +00:00
Ching Pei Yang
f672d3cdee
fix: bad comment keymaps (#488)
Some checks failed
Set up binary cache / cachix (default) (push) Has been cancelled
Set up binary cache / cachix (maximal) (push) Has been cancelled
Set up binary cache / cachix (nix) (push) Has been cancelled
Validate flake & check formatting / Validate Flake (push) Has been cancelled
Validate flake & check formatting / Formatting via Alejandra (push) Has been cancelled
Build and deploy documentation / Check latest commit (push) Has been cancelled
Check for typos in the source tree / check-typos (push) Has been cancelled
Build and deploy documentation / publish (push) Has been cancelled
Co-authored-by: raf <raf@notashelf.dev>
2024-12-06 12:57:33 +00:00
Ching Pei Yang
ff07905bb8
nvim-dap: fix bad keymap options 2024-12-05 00:58:23 +01:00
Ching Pei Yang
745da4539e
keymaps: fix null key problems 2024-12-05 00:09:40 +01:00
Soliprem
18bf52e540
languages/gleam: init (#482)
Some checks are pending
Check for typos in the source tree / check-typos (push) Waiting to run
* modules/gleam: init

* gleam: not using formatter

* configuration: gleam set to false

* docs: added changelog entry for gleam

* gleam: fixed lsp and treesitter

* gleam: capitalisation
2024-12-04 02:43:16 +03:00
DamitusThyYeetus123
fd4df3432e
languages/astro: init (#481)
* LSP: Add astro

* LSP: Properly add astro

* LSP: Properly actually add astro

* Flake: Fix mnw

* Update flake/develop.nix

Co-authored-by: raf <raf@notashelf.dev>

* Update configuration.nix

Co-authored-by: raf <raf@notashelf.dev>

* Update astro.nix

* Update rl-0.7.md

---------

Co-authored-by: raf <raf@notashelf.dev>
2024-12-03 23:13:56 +00:00
diniamo
88834cc93f run-nvim: fix keymaps
Some checks are pending
Check for typos in the source tree / check-typos (push) Waiting to run
2024-12-03 16:28:31 +01:00
diniamo
b44039031a
Merge branch 'v0.7' into lib/simpler-binds 2024-12-02 18:31:46 +01:00
98691619ef
docs: update changelogs 2024-12-01 18:38:16 +03: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
Ching Pei Yang
3b6b6e7322
docs: rename vim.leaderKey to vim.globals.mapleader
Some checks are pending
Check for typos in the source tree / check-typos (push) Waiting to run
2024-11-30 23:37:16 +01:00
Ching Pei Yang
ba14b3538e
wrapper: use freeform types for vim.globals 2024-11-30 23:36:51 +01:00
Ching Pei Yang
b3170c0fe3
format
Co-authored-by: diniamo <55629891+diniamo@users.noreply.github.com>
2024-11-30 15:46:11 +01:00
Ching Pei Yang
fa7785ede6
format
Co-authored-by: diniamo <55629891+diniamo@users.noreply.github.com>
2024-11-30 15:46:11 +01:00
Ching Pei Yang
3b86940f71
format
Co-authored-by: diniamo <55629891+diniamo@users.noreply.github.com>
2024-11-30 15:46:11 +01:00
Ching Pei Yang
bc637fd7d1
fixup! nvim-dap: use new keybind helpers 2024-11-30 15:46:10 +01:00
Ching Pei Yang
0ae4bab073
typo 2024-11-30 15:46:10 +01:00
Ching Pei Yang
e812ef2c3f
nvim-dap: use new keybind helpers 2024-11-30 15:46:10 +01:00
Ching Pei Yang
dd1bc19600
leap: use new keybind helpers 2024-11-30 15:46:10 +01:00
Ching Pei Yang
e697d71ebe
toggleterm: use new keybind helper 2024-11-30 15:46:09 +01:00
Ching Pei Yang
458c0f6ed5
nvimtree: use new keybind helper 2024-11-30 15:46:09 +01:00
Ching Pei Yang
8edc48c5ea
comment-nvim: switch to new keybind helper 2024-11-30 15:38:07 +01:00
Ching Pei Yang
a83168e6d7
trouble: switch to new keybind helper 2024-11-30 15:38:07 +01:00
Ching Pei Yang
fed9f348c2
telescope: switch to simpler keybind helper 2024-11-30 15:38:07 +01:00
raf
29b7c415a9
Merge pull request #474 from diniamo/run-nvim
Some checks are pending
Check for typos in the source tree / check-typos (push) Waiting to run
runner/run-nvim: init
2024-11-30 12:31:24 +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
diniamo
48a74623d8 languages/rust: use local leader for binds 2024-11-29 23:15:48 +01:00
diniamo
2aeec7cb69 runner/run-nvim: init 2024-11-29 23:15:48 +01:00
raf
4fd0ac1750
Merge branch 'v0.7' into typos-and-friends
Some checks failed
Check for typos in the source tree / check-typos (push) Has been cancelled
2024-11-29 12:09:43 +03:00
Ching Pei Yang
fee1b46924
lazy: add assertions against common problems (#476)
* lazy: allow null package

* lazy: add assertions for common pitfalls

* lazy: pass plugin name to custom load function

* lazy: format description

Co-authored-by: raf <raf@notashelf.dev>

---------

Co-authored-by: raf <raf@notashelf.dev>
2024-11-29 00:16:17 +01:00
Soliprem
52ad5ec34c
modules/nu: init (#477)
* modules/languages: add nu

* configuration: enable nu for maximal

* flake.lock: update nixpkgs

* languages/nu: TS parser is now in nixpkgs

* docs: added changelog entry for nu

* modules/plugins/languages/nu.nix: applying suggested change for option ordering

Co-authored-by: raf <raf@notashelf.dev>

* configuration.nix: don't enable nu on maximal

* modules/nu: removed useless comments

* languages/nu: cleaning up after removing formatter code

* modules/plugins/languages/nu.nix: better attrs ordering

Co-authored-by: raf <raf@notashelf.dev>

---------

Co-authored-by: diniamo <diniamo53@gmail.com>
Co-authored-by: raf <raf@notashelf.dev>
2024-11-28 17:12:19 +00:00
ppenguin
5087c3d64d
languages/HCL: init (#359)
* add language HCL

Terraform doesn't register hcl and doesn't offer good DX if manually set
for editing e.g. nomad HCL files.

Incl. reformat with alejandra

* cleanup, add formatter

* requested improvements

forgotten save

typo (lsp <-> format)

* changelog entry

consolidate changelog entry

---------

Co-authored-by: raf <raf@notashelf.dev>
2024-11-27 22:21:57 +03:00
a3038b697d
treewide: find and fix more typos 2024-11-26 11:24:25 +03:00
c2de643f19
treewide: find and fix typos 2024-11-26 10:36:39 +03:00
Soliprem
d821882f00 typst: complying with review 2024-11-26 09:38:51 +03:00
Soliprem
26bb56eba8 languages/typst: fixed callback error with non-english characters 2024-11-26 09:38:51 +03:00
5618dadd96
treewide: remove dead links caught by the lychee link check 2024-11-25 18:56:58 +03:00
Ching Pei Yang
8c95b996c7
copilot: fix wrong keybind descriptions 2024-11-23 20:21:31 +01:00
Ching Pei Yang
dee78a393b nvimtree: move beforeAll to pluginRC 2024-11-22 22:37:05 +03:00
Ching Pei Yang
d459fd16ce neo-tree: move beforeAll to pluginRC 2024-11-22 22:37:05 +03:00
Ching Pei Yang
9c979a4a84 nvim-tree: hijack netrw 2024-11-22 22:37:05 +03:00
Ching Pei Yang
68392ae504 neo-tree: add hijack netrw 2024-11-22 22:37:05 +03:00
Ching Pei Yang
1d2d4cd088 lazy: wrap beforeAll in lua function 2024-11-22 22:37:05 +03:00
Soliprem
b6785f8218 typst: added single file support for tinymist 2024-11-18 12:09:34 +03:00
diniamo
c99afe12c3 trouble: fix binds 2024-11-16 21:31:59 +01:00
diniamo
2bce0d957b
telescope: add missing mappings, cleanup (#469) 2024-11-15 08:17:54 +01:00
Ching Pei Yang
8099b9c821 lib/binds: update lzn bind functions 2024-11-15 09:40:06 +03:00
Ching Pei Yang
2df52f6ec4 lazy: remove unused imports 2024-11-15 09:40:06 +03:00
Ching Pei Yang
a79827f1f3 lazy: add key.mode example 2024-11-15 09:40:06 +03:00
Ching Pei Yang
22cfec78db lazy: re-order options for consistency 2024-11-15 09:40:06 +03:00
Ching Pei Yang
0b0bbfd348 lazy: add missing load() wrapper 2024-11-15 09:40:06 +03:00
Ching Pei Yang
2aad0fb838 lazy: remove defaults for keys 2024-11-15 09:40:06 +03:00
diniamo
7a5c75b865 nvim-cmp: fix use of mkDefault for borders 2024-11-13 20:46:33 +03:00
diniamo
1df720f86c nvim-cmp: use border style 2024-11-13 20:28:45 +03:00
diniamo
e39d469da9 nvim-cmp: allow passing null to format
Not adding special cases to where it's used shouldn't break anything.
2024-11-13 20:28:45 +03:00
Charlie Root
a07e113f3a theme/supported-themes.nix: fix themes
Make all themes work by adding `...` to every theme attrset.
2024-11-12 13:16:35 +03:00
Ching Pei Yang
12b650fea7 lazy: remove redundant submodule 2024-11-11 01:50:11 +03:00
diniamo
c4e75c4c1a wrapper: get meta from wrapped neovim package 2024-11-10 15:05:45 +03:00