Compare commits

...

4 Commits

4 changed files with 18 additions and 8 deletions

View File

@@ -0,0 +1,5 @@
This repository has sub-modules! Be sure to get them with
git submodule update --init --recursive
otherwise things will break!

View File

@@ -2,13 +2,9 @@ return {
'nvim-treesitter/nvim-treesitter',
build = ':TSUpdate',
config = function()
local configs = require('nvim-treesitter.configs')
configs.setup {
ensure_installed = { 'c', 'cpp', 'lua', 'vimdoc', 'luadoc', 'vim', 'markdown' },
sync_install = false,
highlight = { enable = true },
indent = { enable = false }
}
vim.api.nvim_create_autocmd('FileType', {
pattern = { 'c' },
callback = function() vim.treesitter.start() end,
})
end
}

View File

@@ -2,6 +2,7 @@ alias ll="ls -alG"
alias vim=nvim
alias nj=ninja
alias ls="ls --color=auto"
alias ...="cd ../.."
alias ....="cd ../../.."

View File

@@ -1,4 +1,5 @@
zshrc=~/.zshrc
zshenv=~/.zshenv
if [ -z $zshrc ]; then
echo "Err: Cannot find dotfile directory."
exit -1
@@ -48,3 +49,10 @@ source $zsh_dir/commands.zsh
# KEYBIND initialisation
source $zsh_dir/keybind.zsh
# SYSTEM-SPECIFIC initialisation
if [ -z $zshenv ]; then
source $zshenv
fi