From f5d1901de7d839eb202e8815e241a8c5724dacb8 Mon Sep 17 00:00:00 2001 From: Jordan Orelli Date: Wed, 31 Jul 2024 21:23:31 -0500 Subject: [PATCH] oh yeah i should maybe setup rust in nvim --- .zshrc | 1 + nvim/after/ftplugin/rust.lua | 2 ++ nvim/after/plugin/signature_help.lua | 2 +- nvim/lua/{etc.lua => etc/init.lua} | 0 4 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 nvim/after/ftplugin/rust.lua rename nvim/lua/{etc.lua => etc/init.lua} (100%) diff --git a/.zshrc b/.zshrc index 4ff9c26..8280757 100644 --- a/.zshrc +++ b/.zshrc @@ -38,6 +38,7 @@ setopt SHARE_HISTORY # Share history between all sessions. LS_COLORS='rs=0:di=01;34:ln=01;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:tw=30;42:ow=34;42:st=37;44:ex=01;32:'; export LS_COLORS alias ls="ls --color=auto" +alias tree="tree --gitignore" # if kitty is installed, register its completions if (( $+commands[kitty] )); then diff --git a/nvim/after/ftplugin/rust.lua b/nvim/after/ftplugin/rust.lua new file mode 100644 index 0000000..9d6e2f3 --- /dev/null +++ b/nvim/after/ftplugin/rust.lua @@ -0,0 +1,2 @@ +-- yay +-- local rustup_home = os.getenv('RUSTUP_HOME') or util.path.join(user_home, '.rustup') diff --git a/nvim/after/plugin/signature_help.lua b/nvim/after/plugin/signature_help.lua index f1d3b3e..2e9dff5 100644 --- a/nvim/after/plugin/signature_help.lua +++ b/nvim/after/plugin/signature_help.lua @@ -105,7 +105,7 @@ signature.setup({ shadow_guibg = 'Black', -- default timer check interval set to lower value if you want to reduce latency - timer_interval = 200, + timer_interval = 50, -- toggle signature on and off in insert mode, e.g. toggle_key = '' toggle_key = nil, diff --git a/nvim/lua/etc.lua b/nvim/lua/etc/init.lua similarity index 100% rename from nvim/lua/etc.lua rename to nvim/lua/etc/init.lua