diff options
Diffstat (limited to 'home/config')
-rw-r--r-- | home/config/nvim/lua/vimopt.lua | 6 | ||||
-rw-r--r-- | home/config/zsh/zshrc | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/home/config/nvim/lua/vimopt.lua b/home/config/nvim/lua/vimopt.lua index 0c519d6..c2c47b0 100644 --- a/home/config/nvim/lua/vimopt.lua +++ b/home/config/nvim/lua/vimopt.lua @@ -13,6 +13,12 @@ set.relativenumber = true set.rnu = true set.swapfile = false +-- expand tabs in the following files +vim.api.nvim_create_autocmd({ "BufNewFile" }, { + pattern = { "*.scm" }, + command = 'silent :set expandtab=true' +}) + vim.filetype.add({ pattern = { ['.*%.pl'] = 'prolog', diff --git a/home/config/zsh/zshrc b/home/config/zsh/zshrc index add2cf3..733fc51 100644 --- a/home/config/zsh/zshrc +++ b/home/config/zsh/zshrc @@ -55,7 +55,7 @@ export GROFF_NO_SGR=1 # enable zsh auto suggestions autoload compinit && compinit -source $GUIX_PROFILE/share/zsh/zsh-autosuggestions/zsh-autosuggestions.zsh +source $GUIX_PROFILE/share/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh source $GUIX_PROFILE/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE="fg=#696e8a" ZSH_AUTOSUGGEST_STRATEGY=(completion history) |