From 2813d5b56d0ca73d2a16ae41bdd788b0b9bf64e9 Mon Sep 17 00:00:00 2001 From: Michael Housh Date: Sat, 16 Nov 2024 01:47:09 -0500 Subject: [PATCH] feat: Adds xcodebuild nvim plugin --- nvim/m-housh/lua/user/plugin/lsp.lua | 4 +++- nvim/m-housh/lua/user/plugins.lua | 2 +- zsh/config/.zshrc | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/nvim/m-housh/lua/user/plugin/lsp.lua b/nvim/m-housh/lua/user/plugin/lsp.lua index 7abfa58..a243531 100755 --- a/nvim/m-housh/lua/user/plugin/lsp.lua +++ b/nvim/m-housh/lua/user/plugin/lsp.lua @@ -61,6 +61,7 @@ return { }, }, }, + cmd = { "/usr/bin/sourcekit-lsp" } }) vim.api.nvim_create_autocmd('LspAttach', { @@ -81,7 +82,8 @@ return { { "]d", vim.diagnostic.goto_prev, desc = "Go to next diagnostic" }, }, { mode = 'n', - silent = true + silent = true, + noremap = true }) end, }) diff --git a/nvim/m-housh/lua/user/plugins.lua b/nvim/m-housh/lua/user/plugins.lua index c6c1b3b..c4be5c4 100755 --- a/nvim/m-housh/lua/user/plugins.lua +++ b/nvim/m-housh/lua/user/plugins.lua @@ -63,6 +63,7 @@ require("lazy").setup({ -- LSP, formatting, etc. -- { 'folke/neodev.nvim', opts = {} }, + { import = 'user.plugin.xcodebuild' }, { import = 'user.plugin.lsp' }, { import = 'user.plugin.lualine' }, { import = 'user.plugin.treesitter' }, @@ -72,5 +73,4 @@ require("lazy").setup({ --{'fladson/vim-kitty', lazy=true, }, - }) diff --git a/zsh/config/.zshrc b/zsh/config/.zshrc index a686121..58ab4c2 100755 --- a/zsh/config/.zshrc +++ b/zsh/config/.zshrc @@ -61,9 +61,11 @@ path_prepend \ "/usr/local/bin" \ "/opt/homebrew/bin" \ "/opt/homebrew/sbin" \ + "$HOME/.local/share/gem/bin" \ "$GOROOT/bin" \ "$GOPATH/bin" \ "$XDG_DATA_HOME/bin" \ + "$HOME/.local/bin" \ "$SCRIPTS" # last arg will be first in $FPATH @@ -207,4 +209,3 @@ alias wget="wget --hsts-file=$XDG_DATA_HOME/wget-hsts" # set wget history locat # I tried sourcing them in the the `.zshenv` files, but did not work. _source_if "$ZDOTDIR/.zshrc-local" _source_if "$LOCAL_ENV" -