Commit graph

951 commits

Author SHA1 Message Date
Austin Horstman
2e281c43e0
plugins/trouble: iconsPackage -> icons provider options 2024-09-22 13:46:15 -05:00
Austin Horstman
b2929765ab
plugins/alpha: iconsPackage -> icons provider options 2024-09-22 13:45:14 -05:00
Austin Horstman
7a3423ae18
plugins/diffview: iconsPackage -> icons provider options 2024-09-22 13:45:14 -05:00
Austin Horstman
cf13d60cd6
plugins/fzf-lua: iconsPackage -> icons provider options 2024-09-22 13:44:12 -05:00
Austin Horstman
59a9652aee
plugins/bufferline: iconsPackage -> icons provider options 2024-09-22 13:44:12 -05:00
Austin Horstman
2cf80fd66f
plugins/barbar: iconsPackage -> icons provider options 2024-09-22 13:43:08 -05:00
Austin Horstman
23a903f13c
plugins/chadtree: iconsPackage -> icons provider options 2024-09-22 13:22:43 -05:00
Quentin Boyer
d2f9e011d9 lib/neovim-plugin: Add lua configuration scoped to the plugin
This commit adds a `plugins.<name>.luaConfig` section controlling the
plugin specific configuration.

The section contains the internal `init` option, containing the plugin's
initialization code.

It also contains the public `pre` and `post` options, that allow to add
code before & after the `init` section

Finally, it contains the `final` option, being the concatenation of the
three previous options.
2024-09-22 16:15:27 +00:00
Austin Horstman
a8ab73432a
plugins/lsp/volar: add ts-ls integration 2024-09-21 15:32:58 -05:00
Jeremy Fleischman
400d1d927d
lib: fix escaping bugs in wrapVimscriptForLua and wrapLuaForVimscript
These functions had very similar bugs: they didn't check if their chosen
"close token" was already present in the string they're escaping.

I went ahead and did the work implied by the TODOs: search for a "close
token" that is *not* in the original string. Pretty simple concept, but
it turned into an annoying amount of code. I couldn't find anything in
upstream nixpkgs lib, or some clever insight about lua/vimscript that
makes this work unecessary, but I'll be thrilled (and a little bummed
about a wasted afternoon) to learn about something.
2024-09-19 15:41:46 -07:00
Austin Horstman
5660c4011c
plugins/alpha: proper terminal support 2024-09-18 22:12:37 -05:00
Austin Horstman
9307b201a3
plugins/telescope-live-grep-args: init 2024-09-18 11:22:11 -05:00
Austin Horstman
b34379e981
plugins/package-info: add telescope integration 2024-09-18 08:22:49 -05:00
Austin Horstman
d4b1827606
plugins/package-info: init 2024-09-18 08:22:49 -05:00
theabm
04ad7937c0
plugins/nvim-surround: init 2024-09-18 08:15:16 -05:00
Austin Horstman
092d1a8a9c
plugins/surround: rename to vim-surround
Adding nvim-surround so we need to deprecate the generic name and move
it.
2024-09-18 07:57:18 -05:00
Austin Horstman
650e204c07
plugins/telescope-manix: init 2024-09-17 22:40:37 -05:00
tsssni
2e3083e425 plugins/lsp: rename tsserver to ts-ls 2024-09-16 23:58:44 +08:00
Austin Horstman
95b322a522
plugins/helpview: init 2024-09-15 18:02:08 -05:00
Austin Horstman
336ba155ff
plugins/overseer: fix strategy option
Actually supports a table to customize the strategy.
2024-09-15 17:54:55 -05:00
Austin Horstman
9e81cb7391
plugins/glow: support style path 2024-09-15 17:50:02 -05:00
Austin Horstman
accf5e67b1
plugins/smartcolumn: init 2024-09-15 15:54:38 -05:00
Matt Sturgeon
fcb782cd9c
flake: add an empty nixvimConfiguration to the legacyPackages output 2024-09-15 18:59:52 +01:00
Austin Horstman
ccc2469e4f
tests/neotest: disable on darwin
Upstream package failing to build in sandbox. Cannot set a package to
null so just disabling those tests on darwin.
2024-09-15 12:22:33 -05:00
Austin Horstman
f88402d5a7
plugins/coq-thirdparty: remove copilot
Pulled functionality into main
2024-09-15 10:22:23 -05:00
Austin Horstman
1a1de2779b
tests/lsp: remove tsserver test
Lsp is deprecated and should be replaced with ts_ls
2024-09-15 10:16:59 -05:00
Austin Horstman
f76051e06e
plugins/compiler: init 2024-09-15 09:47:10 -05:00
Austin Horstman
4f01fd981a
plugins/ts-comments-nvim: init 2024-09-15 09:42:27 -05:00
Austin Horstman
add9aca76e
plugins/overseer: init 2024-09-15 09:25:30 -05:00
Austin Horstman
a20d95625b
plugins/precognition: init 2024-09-15 08:32:53 -05:00
Austin Horstman
61be7a6eed
plugins/nvim-jdtls: use jdtLanguageServerPackage option 2024-09-14 19:23:53 -05:00
Austin Horstman
b42d4588ae
plugins/neoclip: sqlite-lua assertion 2024-09-14 19:23:53 -05:00
Austin Horstman
e3e3774177
plugins/neorg: use neorgTelescopePackage option 2024-09-14 19:23:53 -05:00
Austin Horstman
068f5e97fc
plugins/tagbar: use tagsPackage 2024-09-14 19:23:53 -05:00
Austin Horstman
34297f5e04
plugins/yanky: sqlite-lua assertion 2024-09-14 19:23:53 -05:00
Austin Horstman
da1a10d0f3
plugins/efmls: use efmLangServerPackage option 2024-09-14 19:23:53 -05:00
Austin Horstman
9832cb86fb
plugins/vimtex: use package options for extraPackages 2024-09-14 19:23:53 -05:00
Austin Horstman
ff3fee3ae5
plugins/direnv: use direnvPackage 2024-09-14 19:23:53 -05:00
Austin Horstman
6bf63e8871
plugins/typst-vim: use typstPackage 2024-09-14 19:23:53 -05:00
Austin Horstman
dfea178590
plugins/octo: use ghPackage 2024-09-14 19:23:53 -05:00
Austin Horstman
873d7b51a7
plugins/telescope: add batPackage 2024-09-14 19:23:48 -05:00
Austin Horstman
93b8b75ff3
plugins/image: add curlPackage and ueberzugPackage 2024-09-14 19:23:48 -05:00
Austin Horstman
6915b851a2
plugins/neogit: use whichPackage 2024-09-14 19:23:48 -05:00
Austin Horstman
2d5949f65c
plugins/sqlite-lua: init 2024-09-14 15:47:30 -05:00
Austin Horstman
908721cdbd
tests/darwin: add system.stateversion
Required in latest nix-darwin update
2024-09-14 12:38:01 -05:00
mitchmindtree
e170e4b598 plugins/lsp/idris2-lsp: init 2024-09-14 16:38:15 +00:00
Austin Horstman
8fd162d951
plugins/wtf: add history and grep_history keymaps 2024-09-13 21:38:30 -05:00
Austin Horstman
87e3c4a1b2
plugins/todo-comments: support conditional key mapping 2024-09-13 18:27:51 -05:00
Matt Sturgeon
4e5bd1d79b
lib: segregate and deprecate functions that need pkgs
Splits everything that depends on a `pkgs` instance into an optional
attrs, allowing `helpers.nix` to be bootstrapped without `pkgs`.

This required some refactoring:
- `modules.specialArgs` is only available when `pkgs` is used
- `modules.specialArgsWith` now requires `defaultPkgs` be provided
- `builders.*` now have `*With` variants that take `pkgs` as an argument
  and a `withPkgs` function that returns the old interface
- Had to define the fixed part of `builders` outside the attrs for now,
  to avoid infinite recursion.
- The old `builders` are now deprecated, and print a warning when
  evaluated
- `withOptoinalFns` was introduced to merge the optional attrs into the
  final lib.
2024-09-13 19:05:26 +01:00
Sefa Eyeoglu
0b665b200b
plugins/lsp/harper-ls: init
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2024-09-13 18:16:20 +02:00