From cf6616f4d1508e1608915fef53c43a615bcd6e3d Mon Sep 17 00:00:00 2001 From: Anton Volnuhin Date: Sun, 28 May 2023 09:50:52 +0300 Subject: [PATCH] snap path, template highlighting --- private_dot_config/nvim/init.lua | 1 + run_once_before_install_main_deps.sh.tmpl | 1 + 2 files changed, 2 insertions(+) diff --git a/private_dot_config/nvim/init.lua b/private_dot_config/nvim/init.lua index 608934f..ee13d3b 100644 --- a/private_dot_config/nvim/init.lua +++ b/private_dot_config/nvim/init.lua @@ -286,6 +286,7 @@ end -- if you only want these mappings for toggle term use term://*toggleterm#* instead vim.cmd("autocmd! TermOpen term://* lua set_terminal_keymaps()") +vim.cmd("autocmd BufNewFile,BufRead *.tmpl set syntax=python") vim.keymap.set("n", "c", require("osc52").copy_operator, { expr = true }) vim.keymap.set("n", "cc", "c_", { remap = true }) diff --git a/run_once_before_install_main_deps.sh.tmpl b/run_once_before_install_main_deps.sh.tmpl index 7e66b23..e7bd7da 100644 --- a/run_once_before_install_main_deps.sh.tmpl +++ b/run_once_before_install_main_deps.sh.tmpl @@ -48,6 +48,7 @@ USER=$(whoami) sudo apt install fish -y {{ end -}} + fish -c "fish_add_path -U /snap/bin" {{ end -}} ## Install fisher plugin manager for fish, so that we may update in after plugin list sync by chezmoi