feat: Adds xcodebuild nvim plugin

This commit is contained in:
2024-11-16 01:47:09 -05:00
parent b3476a4af2
commit 2813d5b56d
3 changed files with 6 additions and 3 deletions

View File

@@ -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,
})

View File

@@ -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, },
})

View File

@@ -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"