Update generated neovim config
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
#!/nix/store/w1iq3315z63558j04gnlzdd2yk1v1hfz-coreutils-9.5/bin/env -S -l
|
||||
#!/nix/store/0kg70swgpg45ipcz3pr2siidq9fn6d77-coreutils-9.5/bin/env -S -l
|
||||
vim.opt.rtp:prepend "./"
|
||||
|
||||
-- Equivalent to print(), but this will ensure consistent output regardless of
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
#!/nix/store/4bj2kxdm1462fzcc2i2s4dn33g2angcc-bash-5.2p32/bin/bash
|
||||
#!/nix/store/izpf49b74i15pcr9708s3xdwyqs4jxwl-bash-5.2p32/bin/bash
|
||||
|
||||
set -e
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
#!/nix/store/w1iq3315z63558j04gnlzdd2yk1v1hfz-coreutils-9.5/bin/env -S -l
|
||||
#!/nix/store/0kg70swgpg45ipcz3pr2siidq9fn6d77-coreutils-9.5/bin/env -S -l
|
||||
|
||||
local ts = vim.treesitter
|
||||
local get_node_text = ts.get_node_text
|
||||
@ -14,7 +14,8 @@ else
|
||||
end
|
||||
|
||||
ts.query.add_predicate("kind-eq?", function(match, _, _, pred)
|
||||
local node = match[pred[2]]
|
||||
local cap = match[pred[2]]
|
||||
local node = type(cap) == "table" and cap[1] or cap
|
||||
if not node then
|
||||
return true
|
||||
end
|
||||
@ -24,7 +25,8 @@ ts.query.add_predicate("kind-eq?", function(match, _, _, pred)
|
||||
end, true)
|
||||
|
||||
ts.query.add_predicate("is-start-of-line?", function(match, _, _, pred)
|
||||
local node = match[pred[2]]
|
||||
local cap = match[pred[2]]
|
||||
local node = type(cap) == "table" and cap[1] or cap
|
||||
if not node then
|
||||
return true
|
||||
end
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
#!/nix/store/4bj2kxdm1462fzcc2i2s4dn33g2angcc-bash-5.2p32/bin/bash
|
||||
#!/nix/store/izpf49b74i15pcr9708s3xdwyqs4jxwl-bash-5.2p32/bin/bash
|
||||
|
||||
# Can be used as a pre-push hook
|
||||
# Just symlink this file to .git/hooks/pre-push
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
#!/nix/store/4bj2kxdm1462fzcc2i2s4dn33g2angcc-bash-5.2p32/bin/bash
|
||||
#!/nix/store/izpf49b74i15pcr9708s3xdwyqs4jxwl-bash-5.2p32/bin/bash
|
||||
|
||||
HERE="$(dirname "$(realpath "${BASH_SOURCE[0]}")")"
|
||||
cd $HERE/..
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
#!/nix/store/4bj2kxdm1462fzcc2i2s4dn33g2angcc-bash-5.2p32/bin/bash
|
||||
#!/nix/store/izpf49b74i15pcr9708s3xdwyqs4jxwl-bash-5.2p32/bin/bash
|
||||
|
||||
make_ignored() {
|
||||
if [[ -n $1 ]]; then
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
#!/nix/store/w1iq3315z63558j04gnlzdd2yk1v1hfz-coreutils-9.5/bin/env -S -l
|
||||
#!/nix/store/0kg70swgpg45ipcz3pr2siidq9fn6d77-coreutils-9.5/bin/env -S -l
|
||||
|
||||
---@class Parser
|
||||
---@field name string
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
#!/nix/store/w1iq3315z63558j04gnlzdd2yk1v1hfz-coreutils-9.5/bin/env -S -l
|
||||
#!/nix/store/0kg70swgpg45ipcz3pr2siidq9fn6d77-coreutils-9.5/bin/env -S -l
|
||||
|
||||
---@type string|any[]
|
||||
local skip_langs = vim.fn.getenv "SKIP_LOCKFILE_UPDATE_FOR_LANGS"
|
||||
|
||||
Reference in New Issue
Block a user