From 212bd9bca2d6b0a31271ef62499291ccb04fe402 Mon Sep 17 00:00:00 2001 From: Alec Goncharow Date: Mon, 30 Oct 2023 10:32:01 -0400 Subject: things --- .config/nvim/lua/lsp.lua | 7 +++++++ .zimrc | 5 +++++ .zshrc | 2 -- 3 files changed, 12 insertions(+), 2 deletions(-) diff --git a/.config/nvim/lua/lsp.lua b/.config/nvim/lua/lsp.lua index 632c355..f2ec79a 100644 --- a/.config/nvim/lua/lsp.lua +++ b/.config/nvim/lua/lsp.lua @@ -71,6 +71,13 @@ lspconfig.bashls.setup({ capabilities = capabilities, }) + +require'lspconfig'.sqlls.setup({ + server = { + on_attach = on_attach, + } +}) + -- https://github.com/nikeee/dot-language-server -- https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md#dotls lspconfig['dotls'].setup({ diff --git a/.zimrc b/.zimrc index 06537f9..c6979b9 100644 --- a/.zimrc +++ b/.zimrc @@ -18,6 +18,9 @@ zmodule input zmodule termtitle # Utility aliases and functions. Adds colour to ls, grep and less. zmodule utility +# All kubectl aliases in one function. +zmodule k + # # Completion @@ -47,6 +50,8 @@ zmodule zsh-users/zsh-autosuggestions zmodule exa # Configures fzf for faster fetching of files and directories names. zmodule fzf +# Provides a convenient way to load ssh-agent. +zmodule ssh zmodule joke/zim-starship diff --git a/.zshrc b/.zshrc index af9bd26..8455793 100644 --- a/.zshrc +++ b/.zshrc @@ -128,7 +128,6 @@ for key ('j') bindkey -M vicmd ${key} history-substring-search-down unset key # }}} End configuration added by Zim install - alias cat=bat alias find=fd alias pls='sudo $(history -p !!)' @@ -144,4 +143,3 @@ source ~/functions/fzf.sh if [[ -f "$HOME/.zig/env" ]]; then source ~/.zig/env fi - -- cgit v1.2.3-70-g09d2