Commit Graph
2202 Commits
Author SHA1 Message Date
Austin Horstman 23a903f13c plugins/chadtree: iconsPackage -> icons provider options 2024-09-22 13:22:43 -05:00
Matt Sturgeon 81ae3febd2 lib: throw when deprecated builders are used on a lib without pkgs
Previously the deprecated builders would warn when used on a lib _with_
`pkgs`, but were simply not present on a lib _without_ `pkgs`.

Now, they are always present, but will throw when evaluated on a lib
_without_ `pkgs`.
2024-09-22 18:18:05 +01:00
Matt Sturgeon 1116ae6332 docs: use evalNixvim helper 2024-09-22 18:18:05 +01:00
Matt Sturgeon 191b0a9502 treewide: avoid passing pkgs to our lib
In the two places where our "helpers" lib is exclusively internal
(flake module args and building the docs), we no longer supply `pkgs`.

In the other 4 locations, we now note why we still do in a comment.
2024-09-22 18:18:05 +01:00
Matt Sturgeon 76df09619d lib/types/pluginLuaConfig: only merge pre and post when defined
- Have them default to `null`
- Only merge them into `content` when non-null
- Mention this in `content`'s description
2024-09-22 17:49:41 +01: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 2bc6a94992 plugins/lsp/ts_ls: add pluginDefault filetypes 2024-09-21 15:33:31 -05:00
Austin Horstman a8ab73432a plugins/lsp/volar: add ts-ls integration 2024-09-21 15:32:58 -05:00
github-actions[bot] 384f97cf50 flake.lock: Update
Flake lock file updates:

• Updated input 'home-manager':
    'github:nix-community/home-manager/0b052dd8119005c6ba819db48bcc657e48f401b7' (2024-09-20)
  → 'github:nix-community/home-manager/14929f7089268481d86b83ed31ffd88713dcd415' (2024-09-21)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/395c52d142ec1df377acd67db6d4a22950b02a98' (2024-09-18)
  → 'github:NixOS/nixpkgs/c04d5652cfa9742b1d519688f65d1bbccea9eb7e' (2024-09-19)
2024-09-21 16:09:17 +00:00
Austin Horstman 2f09998b65 plugins/otter: add autoActivate 2024-09-20 19:56:35 -05:00
github-actions[bot] 3211ce356b flake.lock: Update
Flake lock file updates:

• Updated input 'git-hooks':
    'github:cachix/git-hooks.nix/7570de7b9b504cfe92025dd1be797bf546f66528' (2024-09-05)
  → 'github:cachix/git-hooks.nix/4e743a6920eab45e8ba0fbe49dc459f1423a4b74' (2024-09-19)
• Updated input 'home-manager':
    'github:nix-community/home-manager/e524c57b1fa55d6ca9d8354c6ce1e538d2a1f47f' (2024-09-14)
  → 'github:nix-community/home-manager/0b052dd8119005c6ba819db48bcc657e48f401b7' (2024-09-20)
• Updated input 'nix-darwin':
    'github:lnl7/nix-darwin/21fe31f26473c180390cfa81e3ea81aca0204c80' (2024-09-13)
  → 'github:lnl7/nix-darwin/c03f85fa42d68d1056ca1740f3113b04f3addff2' (2024-09-19)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/345c263f2f53a3710abe117f28a5cb86d0ba4059' (2024-09-13)
  → 'github:NixOS/nixpkgs/395c52d142ec1df377acd67db6d4a22950b02a98' (2024-09-18)
• Updated input 'nuschtosSearch':
    'github:NuschtOS/search/97d34b70deed4878fcb2449ac89dab717d72efa1' (2024-09-15)
  → 'github:NuschtOS/search/7733a39a1321057172d87e6251ded7cdeb67171e' (2024-09-20)
• Updated input 'treefmt-nix':
    'github:numtide/treefmt-nix/9fb342d14b69aefdf46187f6bb80a4a0d97007cd' (2024-09-02)
  → 'github:numtide/treefmt-nix/ee41a466c2255a3abe6bc50fc6be927cdee57a9f' (2024-09-19)
2024-09-20 15:37:08 +00:00
zowoq c2080ede4f ci(Mergify): configuration update
Signed-off-by: null <null>
2024-09-20 12:57:37 +10: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 2df1bdd14d plugins/lsp/gopls: add goPackage 2024-09-19 08:25:44 -05:00
Austin Horstman 5660c4011c plugins/alpha: proper terminal support 2024-09-18 22:12:37 -05:00
Austin Horstman beb42716ff plugins/alpha: remove helpers and with lib 2024-09-18 22:04:37 -05:00
Austin Horstman 17b79813bf plugins/alpha: rawLua support 2024-09-18 22:04:37 -05:00
Austin Horstman 9307b201a3 plugins/telescope-live-grep-args: init 2024-09-18 11:22:11 -05:00
Austin Horstman 11b9de7264 plugins/telescope-manix: fix manixPackage usage 2024-09-18 10:09:28 -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
sportshead 061d47f7c5 plugins/tokyonight: add moon style to settings
Default style since tokyonight v4.0.0. See [folke/tokyonight.nvim
blame](https://github.com/folke/tokyonight.nvim/commit/766be08803922a5761551500c09d4be4c3366b71#diff-2118ce7f3d4c28292bfec01fd0828fa01ea8b5505df921c874452e35997939c5R9)
2024-09-18 10:33:57 +01:00
Austin Horstman 650e204c07 plugins/telescope-manix: init 2024-09-17 22:40:37 -05:00
Austin Horstman 6cbf441c22 plugins/nvim-jdtls: configuration allow raw lua 2024-09-17 15:20:48 -05:00
Perchun Pak 5a5b9b8004 plugins/otter: remove myself as maintainer
I no longer use nixvim
2024-09-17 15:20:27 -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 0999f92567 plugins/glow: remove helpers 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
github-actions[bot] f0bd18b420 generated: Updated efmls-configs.nix 2024-09-15 10:16:59 -05:00
github-actions[bot] 9a32aeccfc flake.lock: Update
Flake lock file updates:

• Updated input 'home-manager':
    'github:nix-community/home-manager/6c1a461a444e6ccb3f3e42bb627b510c3a722a57' (2024-09-14)
  → 'github:nix-community/home-manager/e524c57b1fa55d6ca9d8354c6ce1e538d2a1f47f' (2024-09-14)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/4f807e8940284ad7925ebd0a0993d2a1791acb2f' (2024-09-11)
  → 'github:NixOS/nixpkgs/345c263f2f53a3710abe117f28a5cb86d0ba4059' (2024-09-13)
• Updated input 'nuschtosSearch':
    'github:NuschtOS/search/4267d5c5b51591a9553eefbd12172da050ee3433' (2024-09-13)
  → 'github:NuschtOS/search/97d34b70deed4878fcb2449ac89dab717d72efa1' (2024-09-15)
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
Ughur Alakbarov 57219622b8 typo 2024-09-15 12:18:13 +02: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 7a9bb2ee95 plugins/fzf-lua: remove extra fzf package include
We already migrated to use the fzfPackage option below. This was
leftover.
2024-09-14 19:23:53 -05:00
Austin Horstman 875b812559 plugins/rest: remove extra curl package include
We already migrated to use curlPackage below. This was leftover.
2024-09-14 19:23:53 -05:00
Austin Horstman 59d03e76d9 colorschemes/palette: use lsp package 2024-09-14 19:23:53 -05:00