From 794f0b352319df357703547b3263f7ee74ce984d Mon Sep 17 00:00:00 2001 From: Christian Nieves Date: Mon, 26 Dec 2022 19:46:51 +0000 Subject: [PATCH] stuff --- vim/.vim/lua/config/ls | 0 vim/.vim/lua/config/lsp.lua | 3 +-- zsh/g3path.zsh | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) create mode 100644 vim/.vim/lua/config/ls diff --git a/vim/.vim/lua/config/ls b/vim/.vim/lua/config/ls new file mode 100644 index 0000000..e69de29 diff --git a/vim/.vim/lua/config/lsp.lua b/vim/.vim/lua/config/lsp.lua index deff0da..1199d82 100644 --- a/vim/.vim/lua/config/lsp.lua +++ b/vim/.vim/lua/config/lsp.lua @@ -7,7 +7,6 @@ local notify = require 'notify' local lsp_status = require('lsp-status') lsp_status.register_progress() - require("mason").setup() require("mason-lspconfig").setup({ ensure_installed = { "sumneko_lua", "rust_analyzer" } @@ -110,7 +109,7 @@ local on_attach = function(client, bufnr) vim.api.nvim_command("autocmd CursorMoved lua vim.lsp.util.buf_clear_references()") end - lsp_status.on_attach(client, bufnr) + lsp_status.on_attach(client) end local opts = { noremap = true, silent = true } diff --git a/zsh/g3path.zsh b/zsh/g3path.zsh index 39e715d..522db03 100644 --- a/zsh/g3path.zsh +++ b/zsh/g3path.zsh @@ -13,7 +13,7 @@ autoload -Uz add-zsh-hook add-zsh-hook chpwd g3path::hook g3path::zle::accept-line () { - if [[ -n $GOOGLE3_ROOT && ! $BUFFER =~ \\s*(blaze|g4|p4|g4d|add_dep|buildozer|build_cleaner|debug_android_lint|rabbit|hb|gqui|builddoctor|unused_deps) ]]; then + if [[ -n $GOOGLE3_ROOT && ! $BUFFER =~ \\s*(blaze|g4|p4|g4d|add_dep|buildozer|build_cleaner|debug_android_lint|rabbit|hb|gqui|builddoctor|unused_deps|clipper) ]]; then BUFFER=${BUFFER// \/\// $GOOGLE3_ROOT\/} fi zle .accept-line