diff --git a/nvchad/.config/nvim/lua/custom/configs/lspconfig.lua b/nvchad/.config/nvim/lua/custom/configs/lspconfig.lua index 04a0359..d85cb71 100644 --- a/nvchad/.config/nvim/lua/custom/configs/lspconfig.lua +++ b/nvchad/.config/nvim/lua/custom/configs/lspconfig.lua @@ -4,7 +4,7 @@ local capabilities = require("plugins.configs.lspconfig").capabilities local lspconfig = require("lspconfig") -- if you just want default config for the servers then put them in a table -local servers = { "html", "cssls", "tsserver", "clangd", "ghdl_ls", "bashls", "prismals", "pyright", "hls" } +local servers = { "html", "cssls", "tsserver", "clangd", "ghdl_ls", "hls", "tailwindcss", "pyright" } for _, lsp in ipairs(servers) do lspconfig[lsp].setup({ diff --git a/nvchad/.config/nvim/lua/custom/configs/overrides.lua b/nvchad/.config/nvim/lua/custom/configs/overrides.lua index 90f1e74..45f326d 100644 --- a/nvchad/.config/nvim/lua/custom/configs/overrides.lua +++ b/nvchad/.config/nvim/lua/custom/configs/overrides.lua @@ -14,6 +14,7 @@ M.treesitter = { "markdown_inline", "prisma", "haskell", + "python", }, indent = { enable = true, diff --git a/oh-my-zsh/.oh-my-zsh/aliases.sh b/oh-my-zsh/.oh-my-zsh/aliases.sh index 40a92ed..e27b5d1 100644 --- a/oh-my-zsh/.oh-my-zsh/aliases.sh +++ b/oh-my-zsh/.oh-my-zsh/aliases.sh @@ -27,4 +27,12 @@ alias gc="git add -A && git commit -m" # Shortcuts alias dots="cd $HOME/.dotfiles" + +# Very nice things +cd_gitroot() { + cd "$(git rev-parse --show-toplevel)" +} + +alias cr="cd_gitroot" + alias dev="cd $HOME/Projects/almtech/ingenuity/"