mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
vimPlugins: update on 2026-06-04 (#528047)
This commit is contained in:
commit
fcfb4d2c1c
4 changed files with 260 additions and 214 deletions
File diff suppressed because it is too large
Load diff
|
|
@ -1418,6 +1418,13 @@ assertNoAdditions {
|
|||
dependencies = [ self.nui-nvim ];
|
||||
};
|
||||
|
||||
faster-nvim = super.faster-nvim.overrideAttrs {
|
||||
nvimSkipModules = [
|
||||
# attempt to index global 'FasterConfig' (a nil value)
|
||||
"faster.commands"
|
||||
];
|
||||
};
|
||||
|
||||
fastfold = super.fastfold.overrideAttrs (old: {
|
||||
meta = old.meta // {
|
||||
# This plugin is under the license "Rien à Branler", which is a French translation of the WTFPL license.
|
||||
|
|
@ -1978,6 +1985,10 @@ assertNoAdditions {
|
|||
);
|
||||
in
|
||||
{
|
||||
patches = (old.patches or [ ]) ++ [
|
||||
./patches/kulala-nvim/use-packaged-tree-sitter-parser.patch
|
||||
];
|
||||
|
||||
dependencies = [ kulala-http-grammar ];
|
||||
|
||||
postPatch = ''
|
||||
|
|
@ -1988,6 +1999,10 @@ assertNoAdditions {
|
|||
nvimSkipModules = [
|
||||
# Requires some extra work to get CLI working in nixpkgs
|
||||
"cli.kulala_cli"
|
||||
# Upstream test harnesses are not require-safe modules
|
||||
"minit"
|
||||
"minitest"
|
||||
"test"
|
||||
# Legacy parser module; active parsing is handled by kulala-core
|
||||
"kulala.parser.treesitter"
|
||||
];
|
||||
|
|
@ -2048,6 +2063,7 @@ assertNoAdditions {
|
|||
"lazyvim.plugins.extras.coding.luasnip"
|
||||
"lazyvim.plugins.extras.coding.neogen"
|
||||
"lazyvim.plugins.extras.editor.fzf"
|
||||
"lazyvim.plugins.extras.editor.refactoring"
|
||||
"lazyvim.plugins.extras.editor.snacks_picker"
|
||||
"lazyvim.plugins.extras.editor.telescope"
|
||||
"lazyvim.plugins.extras.formatting.prettier"
|
||||
|
|
|
|||
|
|
@ -0,0 +1,29 @@
|
|||
diff --git a/lua/kulala/config/parser.lua b/lua/kulala/config/parser.lua
|
||||
index 5f37046..c60c474 100644
|
||||
--- a/lua/kulala/config/parser.lua
|
||||
+++ b/lua/kulala/config/parser.lua
|
||||
@@ -37,7 +37,6 @@ local function sync_queries()
|
||||
end
|
||||
|
||||
local function load_parser()
|
||||
- if not Fs.file_exists(parser_target_path) then return false end
|
||||
return vim.treesitter.language.add(parser_name) == true
|
||||
end
|
||||
|
||||
@@ -48,7 +47,6 @@ M.register_parser = function()
|
||||
-- queries/kulala_http/*.scm live under lua/tree-sitter/queries/
|
||||
vim.opt.rtp:prepend(parser_source_path)
|
||||
ensure_site_rtp()
|
||||
- sync_queries()
|
||||
vim.treesitter.language.register(parser_name, filetypes)
|
||||
vim.treesitter.language.register("markdown", "kulala_ui")
|
||||
local backend = require("kulala.backend")
|
||||
@@ -94,7 +92,7 @@ local function has_kulala_parser()
|
||||
end
|
||||
|
||||
M.is_up_to_date = function()
|
||||
- return has_kulala_parser() and is_parser_ver_current()
|
||||
+ return load_parser()
|
||||
end
|
||||
|
||||
M.setup = function()
|
||||
|
|
@ -371,8 +371,8 @@ https://github.com/nvim-lua/diagnostic-nvim/,,
|
|||
https://github.com/3rd/diagram.nvim/,,
|
||||
https://github.com/monaqa/dial.nvim/,,
|
||||
https://github.com/barrettruth/diffs.nvim/,,
|
||||
https://github.com/sindrets/diffview.nvim/,,
|
||||
https://github.com/dlyongemallo/diffview-plus.nvim/,,
|
||||
https://github.com/sindrets/diffview.nvim/,,
|
||||
https://github.com/elihunter173/dirbuf.nvim/,,
|
||||
https://github.com/direnv/direnv.vim/,,
|
||||
https://github.com/chipsenkbeil/distant.nvim/,,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue