summaryrefslogtreecommitdiff
path: root/home/config
diff options
context:
space:
mode:
authorFreya Murphy <freya@freyacat.org>2024-10-28 17:40:49 -0400
committerFreya Murphy <freya@freyacat.org>2024-10-28 17:40:49 -0400
commit4195ae817d5cfab8253b829db0951767a7f78691 (patch)
tree8362b3779fdacc6f067e2bda1e455472501ebb86 /home/config
parentupdate commits (diff)
downloaddotfiles-guix-4195ae817d5cfab8253b829db0951767a7f78691.tar.gz
dotfiles-guix-4195ae817d5cfab8253b829db0951767a7f78691.tar.bz2
dotfiles-guix-4195ae817d5cfab8253b829db0951767a7f78691.zip
refactor home packages, update nvim config
Diffstat (limited to 'home/config')
-rw-r--r--home/config/nvim/lua/vimopt.lua6
-rw-r--r--home/config/zsh/zshrc2
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)