This commit is contained in:
Christian Nieves
2022-12-26 19:46:51 +00:00
parent 5908112f1b
commit 794f0b3523
3 changed files with 2 additions and 3 deletions

0
vim/.vim/lua/config/ls Normal file
View File

View File

@ -7,7 +7,6 @@ local notify = require 'notify'
local lsp_status = require('lsp-status') local lsp_status = require('lsp-status')
lsp_status.register_progress() lsp_status.register_progress()
require("mason").setup() require("mason").setup()
require("mason-lspconfig").setup({ require("mason-lspconfig").setup({
ensure_installed = { "sumneko_lua", "rust_analyzer" } ensure_installed = { "sumneko_lua", "rust_analyzer" }
@ -110,7 +109,7 @@ local on_attach = function(client, bufnr)
vim.api.nvim_command("autocmd CursorMoved <buffer> lua vim.lsp.util.buf_clear_references()") vim.api.nvim_command("autocmd CursorMoved <buffer> lua vim.lsp.util.buf_clear_references()")
end end
lsp_status.on_attach(client, bufnr) lsp_status.on_attach(client)
end end
local opts = { noremap = true, silent = true } local opts = { noremap = true, silent = true }

View File

@ -13,7 +13,7 @@ autoload -Uz add-zsh-hook
add-zsh-hook chpwd g3path::hook add-zsh-hook chpwd g3path::hook
g3path::zle::accept-line () { 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\/} BUFFER=${BUFFER// \/\// $GOOGLE3_ROOT\/}
fi fi
zle .accept-line zle .accept-line