Updated cod and nvim settings
This commit is contained in:
parent
66f68f5ab6
commit
363e1e643e
2 changed files with 12 additions and 13 deletions
|
@ -19,7 +19,7 @@ if [ ! -d "${XDG_CONFIG_HOME:-$HOME/.config}/nvim/lua/custom" ]; then
|
|||
logg info "Linking ${XDG_CONFIG_HOME:-$HOME/.config}/nvim-custom to ${XDG_CONFIG_HOME:-$HOME/.config}/nvim/lua/custom"
|
||||
logg info "Changes should go in ${XDG_CONFIG_HOME:-$HOME/.config}/nvim-custom"
|
||||
ln -s "${XDG_CONFIG_HOME:-$HOME/.config}/nvim-custom" "${XDG_CONFIG_HOME:-$HOME/.config}/nvim/lua/custom"
|
||||
elif flatpak list | grep 'io.neovim.nvim' > /dev/null && [ ! -d "~/.var/app/io.neovim.nvim/config/nvim/lua/custom" ]; then
|
||||
elif command -v flatpak && flatpak list | grep 'io.neovim.nvim' > /dev/null && [ ! -d "~/.var/app/io.neovim.nvim/config/nvim/lua/custom" ]; then
|
||||
logg info "Linking ${XDG_CONFIG_HOME:-$HOME/.config}/nvim-custom to ~/.var/app/io.neovim.nvim/config/nvim/lua/custom"
|
||||
logg info "Changes should go in ${XDG_CONFIG_HOME:-$HOME/.config}/nvim-custom"
|
||||
ln -s "${XDG_CONFIG_HOME:-$HOME/.config}/nvim-custom" "~/.var/app/io.neovim.nvim/config/nvim/lua/custom"
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
# 'command-execution-timout' controls how long cod waits for completion of command (in milliseconds).
|
||||
# Default value is 1000 (i.e. 1 second).
|
||||
#
|
||||
# command-execution-timeout = 1000
|
||||
command-execution-timeout = 5000
|
||||
|
||||
|
||||
#
|
||||
|
@ -42,15 +42,14 @@
|
|||
# - 'trust' :: cod will automatically learn detected help command;
|
||||
# - 'ignore' :: cod will ignore all command for this executable.
|
||||
|
||||
# Examples:
|
||||
# [[rule]]
|
||||
# executable = "/usr/bin/*"
|
||||
# policy = 'ignore'
|
||||
#
|
||||
# [[rule]]
|
||||
# executable = "~/bin/*"
|
||||
# policy = 'trust'
|
||||
[[rule]]
|
||||
executable = "/usr/bin/*"
|
||||
policy = 'trust'
|
||||
|
||||
# [[rule]]
|
||||
# executable = "~/my/repo/**"
|
||||
# policy = 'trust'
|
||||
[[rule]]
|
||||
executable = "/usr/local/bin/*"
|
||||
policy = 'trust'
|
||||
|
||||
[[rule]]
|
||||
executable = "~/.local/bin/**"
|
||||
policy = 'trust'
|
||||
|
|
Loading…
Reference in a new issue