mirror of
https://github.com/ivuorinen/dotfiles.git
synced 2026-02-04 10:44:32 +00:00
Compare commits
6 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c37fdb7cd3 | ||
| bad1ce2a34 | |||
| e67d4285b6 | |||
| f577ad28a9 | |||
|
|
e9ac5e48ac | ||
|
|
cc01f4fdde |
2
.github/workflows/linters.yml
vendored
2
.github/workflows/linters.yml
vendored
@@ -33,4 +33,4 @@ jobs:
|
|||||||
|
|
||||||
- name: Run PR Lint
|
- name: Run PR Lint
|
||||||
# https://github.com/ivuorinen/actions
|
# https://github.com/ivuorinen/actions
|
||||||
uses: ivuorinen/actions/pr-lint@3cfe6722c4f81d724c8c6b27be453ff4c6f14ef0 # 25.7.14
|
uses: ivuorinen/actions/pr-lint@8476cd4675ea8210eadf4a267bbeb13bddea4e75 # 25.7.21
|
||||||
|
|||||||
2
.github/workflows/sync-labels.yml
vendored
2
.github/workflows/sync-labels.yml
vendored
@@ -29,4 +29,4 @@ jobs:
|
|||||||
issues: write
|
issues: write
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: ivuorinen/actions/sync-labels@3cfe6722c4f81d724c8c6b27be453ff4c6f14ef0 # 25.7.14
|
- uses: ivuorinen/actions/sync-labels@8476cd4675ea8210eadf4a267bbeb13bddea4e75 # 25.7.21
|
||||||
|
|||||||
@@ -49,7 +49,7 @@ repos:
|
|||||||
- id: actionlint
|
- id: actionlint
|
||||||
|
|
||||||
- repo: https://github.com/renovatebot/pre-commit-hooks
|
- repo: https://github.com/renovatebot/pre-commit-hooks
|
||||||
rev: 41.37.7
|
rev: 41.43.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: renovate-config-validator
|
- id: renovate-config-validator
|
||||||
|
|
||||||
|
|||||||
71
config/fish/completions/bob.fish
Normal file
71
config/fish/completions/bob.fish
Normal file
@@ -0,0 +1,71 @@
|
|||||||
|
# Print an optspec for argparse to handle cmd's options that are independent of any subcommand.
|
||||||
|
function __fish_bob_global_optspecs
|
||||||
|
string join \n h/help V/version
|
||||||
|
end
|
||||||
|
|
||||||
|
function __fish_bob_needs_command
|
||||||
|
# Figure out if the current invocation already has a command.
|
||||||
|
set -l cmd (commandline -opc)
|
||||||
|
set -e cmd[1]
|
||||||
|
argparse -s (__fish_bob_global_optspecs) -- $cmd 2>/dev/null
|
||||||
|
or return
|
||||||
|
if set -q argv[1]
|
||||||
|
# Also print the command, so this can be used to figure out what it is.
|
||||||
|
echo $argv[1]
|
||||||
|
return 1
|
||||||
|
end
|
||||||
|
return 0
|
||||||
|
end
|
||||||
|
|
||||||
|
function __fish_bob_using_subcommand
|
||||||
|
set -l cmd (__fish_bob_needs_command)
|
||||||
|
test -z "$cmd"
|
||||||
|
and return 1
|
||||||
|
contains -- $cmd[1] $argv
|
||||||
|
end
|
||||||
|
|
||||||
|
complete -c bob -n "__fish_bob_needs_command" -s h -l help -d 'Print help'
|
||||||
|
complete -c bob -n "__fish_bob_needs_command" -s V -l version -d 'Print version'
|
||||||
|
complete -c bob -n "__fish_bob_needs_command" -f -a "use" -d 'Switch to the specified version, by default will auto-invoke install command if the version is not installed already'
|
||||||
|
complete -c bob -n "__fish_bob_needs_command" -f -a "install" -d 'Install the specified version, can also be used to update out-of-date nightly version'
|
||||||
|
complete -c bob -n "__fish_bob_needs_command" -f -a "sync" -d 'If Config::version_sync_file_location is set, the version in that file will be parsed and installed'
|
||||||
|
complete -c bob -n "__fish_bob_needs_command" -f -a "uninstall" -d 'Uninstall the specified version'
|
||||||
|
complete -c bob -n "__fish_bob_needs_command" -f -a "rm" -d 'Uninstall the specified version'
|
||||||
|
complete -c bob -n "__fish_bob_needs_command" -f -a "rollback" -d 'Rollback to an existing nightly rollback'
|
||||||
|
complete -c bob -n "__fish_bob_needs_command" -f -a "erase" -d 'Erase any change bob ever made, including neovim installation, neovim version downloads and registry changes'
|
||||||
|
complete -c bob -n "__fish_bob_needs_command" -f -a "list" -d 'List all installed and used versions'
|
||||||
|
complete -c bob -n "__fish_bob_needs_command" -f -a "ls" -d 'List all installed and used versions'
|
||||||
|
complete -c bob -n "__fish_bob_needs_command" -f -a "list-remote"
|
||||||
|
complete -c bob -n "__fish_bob_needs_command" -f -a "ls-remote"
|
||||||
|
complete -c bob -n "__fish_bob_needs_command" -f -a "complete" -d 'Generate shell completion'
|
||||||
|
complete -c bob -n "__fish_bob_needs_command" -f -a "update" -d 'Update existing version |nightly|stable|--all|'
|
||||||
|
complete -c bob -n "__fish_bob_needs_command" -f -a "run"
|
||||||
|
complete -c bob -n "__fish_bob_needs_command" -f -a "help" -d 'Print this message or the help of the given subcommand(s)'
|
||||||
|
complete -c bob -n "__fish_bob_using_subcommand use" -s n -l no-install -d 'Whether not to auto-invoke install command'
|
||||||
|
complete -c bob -n "__fish_bob_using_subcommand use" -s h -l help -d 'Print help (see more with \'--help\')'
|
||||||
|
complete -c bob -n "__fish_bob_using_subcommand install" -s h -l help -d 'Print help (see more with \'--help\')'
|
||||||
|
complete -c bob -n "__fish_bob_using_subcommand sync" -s h -l help -d 'Print help'
|
||||||
|
complete -c bob -n "__fish_bob_using_subcommand uninstall" -s h -l help -d 'Print help (see more with \'--help\')'
|
||||||
|
complete -c bob -n "__fish_bob_using_subcommand rm" -s h -l help -d 'Print help (see more with \'--help\')'
|
||||||
|
complete -c bob -n "__fish_bob_using_subcommand rollback" -s h -l help -d 'Print help'
|
||||||
|
complete -c bob -n "__fish_bob_using_subcommand erase" -s h -l help -d 'Print help'
|
||||||
|
complete -c bob -n "__fish_bob_using_subcommand list" -s h -l help -d 'Print help'
|
||||||
|
complete -c bob -n "__fish_bob_using_subcommand ls" -s h -l help -d 'Print help'
|
||||||
|
complete -c bob -n "__fish_bob_using_subcommand list-remote" -s h -l help -d 'Print help'
|
||||||
|
complete -c bob -n "__fish_bob_using_subcommand ls-remote" -s h -l help -d 'Print help'
|
||||||
|
complete -c bob -n "__fish_bob_using_subcommand complete" -s h -l help -d 'Print help'
|
||||||
|
complete -c bob -n "__fish_bob_using_subcommand update" -s a -l all -d 'Apply the update to all versions'
|
||||||
|
complete -c bob -n "__fish_bob_using_subcommand update" -s h -l help -d 'Print help'
|
||||||
|
complete -c bob -n "__fish_bob_using_subcommand run" -s h -l help -d 'Print help'
|
||||||
|
complete -c bob -n "__fish_bob_using_subcommand help; and not __fish_seen_subcommand_from use install sync uninstall rollback erase list list-remote complete update run help" -f -a "use" -d 'Switch to the specified version, by default will auto-invoke install command if the version is not installed already'
|
||||||
|
complete -c bob -n "__fish_bob_using_subcommand help; and not __fish_seen_subcommand_from use install sync uninstall rollback erase list list-remote complete update run help" -f -a "install" -d 'Install the specified version, can also be used to update out-of-date nightly version'
|
||||||
|
complete -c bob -n "__fish_bob_using_subcommand help; and not __fish_seen_subcommand_from use install sync uninstall rollback erase list list-remote complete update run help" -f -a "sync" -d 'If Config::version_sync_file_location is set, the version in that file will be parsed and installed'
|
||||||
|
complete -c bob -n "__fish_bob_using_subcommand help; and not __fish_seen_subcommand_from use install sync uninstall rollback erase list list-remote complete update run help" -f -a "uninstall" -d 'Uninstall the specified version'
|
||||||
|
complete -c bob -n "__fish_bob_using_subcommand help; and not __fish_seen_subcommand_from use install sync uninstall rollback erase list list-remote complete update run help" -f -a "rollback" -d 'Rollback to an existing nightly rollback'
|
||||||
|
complete -c bob -n "__fish_bob_using_subcommand help; and not __fish_seen_subcommand_from use install sync uninstall rollback erase list list-remote complete update run help" -f -a "erase" -d 'Erase any change bob ever made, including neovim installation, neovim version downloads and registry changes'
|
||||||
|
complete -c bob -n "__fish_bob_using_subcommand help; and not __fish_seen_subcommand_from use install sync uninstall rollback erase list list-remote complete update run help" -f -a "list" -d 'List all installed and used versions'
|
||||||
|
complete -c bob -n "__fish_bob_using_subcommand help; and not __fish_seen_subcommand_from use install sync uninstall rollback erase list list-remote complete update run help" -f -a "list-remote"
|
||||||
|
complete -c bob -n "__fish_bob_using_subcommand help; and not __fish_seen_subcommand_from use install sync uninstall rollback erase list list-remote complete update run help" -f -a "complete" -d 'Generate shell completion'
|
||||||
|
complete -c bob -n "__fish_bob_using_subcommand help; and not __fish_seen_subcommand_from use install sync uninstall rollback erase list list-remote complete update run help" -f -a "update" -d 'Update existing version |nightly|stable|--all|'
|
||||||
|
complete -c bob -n "__fish_bob_using_subcommand help; and not __fish_seen_subcommand_from use install sync uninstall rollback erase list list-remote complete update run help" -f -a "run"
|
||||||
|
complete -c bob -n "__fish_bob_using_subcommand help; and not __fish_seen_subcommand_from use install sync uninstall rollback erase list list-remote complete update run help" -f -a "help" -d 'Print this message or the help of the given subcommand(s)'
|
||||||
@@ -9,7 +9,10 @@ return {
|
|||||||
dependencies = {
|
dependencies = {
|
||||||
-- if you lazy-load any plugin below, make sure to add proper `module="..."` entries
|
-- if you lazy-load any plugin below, make sure to add proper `module="..."` entries
|
||||||
'MunifTanjim/nui.nvim',
|
'MunifTanjim/nui.nvim',
|
||||||
'rcarriga/nvim-notify',
|
{
|
||||||
|
'rcarriga/nvim-notify',
|
||||||
|
opts = { background_colour = '#000000' },
|
||||||
|
},
|
||||||
},
|
},
|
||||||
opts = {
|
opts = {
|
||||||
lsp = {
|
lsp = {
|
||||||
@@ -29,6 +32,10 @@ return {
|
|||||||
lsp_doc_border = false, -- add a border to hover docs and signature help
|
lsp_doc_border = false, -- add a border to hover docs and signature help
|
||||||
},
|
},
|
||||||
routes = {
|
routes = {
|
||||||
|
{
|
||||||
|
view = 'notify',
|
||||||
|
filter = { event = 'msg_showmode' },
|
||||||
|
},
|
||||||
{
|
{
|
||||||
filter = {
|
filter = {
|
||||||
event = 'msg_show',
|
event = 'msg_show',
|
||||||
@@ -66,13 +73,31 @@ return {
|
|||||||
},
|
},
|
||||||
views = {
|
views = {
|
||||||
cmdline_popup = {
|
cmdline_popup = {
|
||||||
border = {
|
position = {
|
||||||
style = 'none',
|
row = 5,
|
||||||
padding = { 1, 2 },
|
col = '50%',
|
||||||
|
},
|
||||||
|
size = {
|
||||||
|
width = 60,
|
||||||
|
height = 'auto',
|
||||||
|
},
|
||||||
|
},
|
||||||
|
popupmenu = {
|
||||||
|
relative = 'editor',
|
||||||
|
position = {
|
||||||
|
row = 8,
|
||||||
|
col = '50%',
|
||||||
|
},
|
||||||
|
size = {
|
||||||
|
width = 60,
|
||||||
|
height = 10,
|
||||||
|
},
|
||||||
|
border = {
|
||||||
|
style = 'rounded',
|
||||||
|
padding = { 0, 1 },
|
||||||
},
|
},
|
||||||
filter_options = {},
|
|
||||||
win_options = {
|
win_options = {
|
||||||
winhighlight = 'NormalFloat:NormalFloat,FloatBorder:FloatBorder',
|
winhighlight = { Normal = 'Normal', FloatBorder = 'DiagnosticInfo' },
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -17,6 +17,8 @@ return {
|
|||||||
|
|
||||||
-- Allows extra capabilities provided by blink.cmp
|
-- Allows extra capabilities provided by blink.cmp
|
||||||
'saghen/blink.cmp',
|
'saghen/blink.cmp',
|
||||||
|
|
||||||
|
{ 'j-hui/fidget.nvim', opts = {} },
|
||||||
},
|
},
|
||||||
config = function()
|
config = function()
|
||||||
local lazydev = require 'lazydev'
|
local lazydev = require 'lazydev'
|
||||||
|
|||||||
@@ -60,7 +60,16 @@ return {
|
|||||||
extra_groups = {
|
extra_groups = {
|
||||||
'NormalNC',
|
'NormalNC',
|
||||||
'NormalFloat',
|
'NormalFloat',
|
||||||
|
'FloatTitle',
|
||||||
'FloatBorder',
|
'FloatBorder',
|
||||||
|
'NotifyDEBUGBorder',
|
||||||
|
'NotifyERRORBorder',
|
||||||
|
'NotifyINFOBorder',
|
||||||
|
'NotifyINFOBorder73',
|
||||||
|
'NotifyINFOBorder75',
|
||||||
|
'NotifyINFOBorder101',
|
||||||
|
'NotifyTRACEBorder',
|
||||||
|
'NotifyWARNBorder',
|
||||||
'TelescopeBorder',
|
'TelescopeBorder',
|
||||||
'TelescopePromptBorder',
|
'TelescopePromptBorder',
|
||||||
'TelescopeResultsBorder',
|
'TelescopeResultsBorder',
|
||||||
|
|||||||
Reference in New Issue
Block a user