Finish lazy.nvim migration

This commit is contained in:
Christian Nieves
2023-06-08 17:16:45 -05:00
parent 648ef29b69
commit 505abba0c2
10 changed files with 68 additions and 71 deletions

View File

@ -12,6 +12,7 @@ require("mason-lspconfig").setup({
local lspconfig = require("lspconfig")
local configs = require("lspconfig.configs")
if use_google() then
configs.ciderlsp = {
default_config = {

View File

@ -12,17 +12,17 @@ sync_install = false,
indent = {
enable = true
},
disable = {"java"},
-- disable = {"java"},
--
-- Setting this to true will run `:h syntax` and tree-sitter at the same time.
-- Set this to `true` if you depend on 'syntax' being enabled (like for indentation).
-- Using this option may slow down your editor, and you may see some duplicate highlights.
-- Instead of true it can also be a list of languages
-- additional_vim_regex_highlighting = true,
-- additional_vim_regex_highlighting = {"java"},
additional_vim_regex_highlighting = {"java"},
},
rainbow = {
enable = true,
extended_mode = true,
}
-- rainbow = {
-- enable = true,
-- extended_mode = true,
-- }
}

View File

@ -4,13 +4,6 @@ vim.diagnostic.config({
severity_sort = true,
})
vim.keymap.set(
"",
"<Leader>l",
require("lsp_lines").toggle,
{ desc = "Toggle lsp_lines" }
)
-- Diagnostics
require("trouble").setup({
signs = {

View File

@ -14,6 +14,8 @@ if not vim.loop.fs_stat(lazypath) then
end
vim.opt.rtp:prepend(lazypath)
package.path = package.path .. ';' .. vim.env.HOME .. "/.vim/lua/?.lua"
require("lazy").setup("plugins")
-- CiderLSP
@ -23,5 +25,3 @@ vim.opt.shortmess:append("c")
vim.opt.spell = true
vim.opt.spelllang = { 'en_us' }
require("config.imp")

View File

@ -5,7 +5,6 @@ return
-- Pretty symbols
'kyazdani42/nvim-web-devicons',
'nvim-lua/lsp-status.nvim',
'jghauser/mkdir.nvim',
'lewis6991/impatient.nvim',
'dstein64/vim-startuptime',
@ -15,11 +14,6 @@ return
'apalmer1377/factorus',
'hrsh7th/vim-vsnip',
'kosayoda/nvim-lightbulb',
"williamboman/mason.nvim",
"williamboman/mason-lspconfig.nvim",
'VonHeikemen/lsp-zero.nvim',
'tpope/vim-surround',
'scrooloose/nerdcommenter',
'ntpeters/vim-better-whitespace',
@ -29,7 +23,6 @@ return
'jremmen/vim-ripgrep',
'nvim-lua/plenary.nvim',
{
'nvim-treesitter/nvim-treesitter',
build = ':TSUpdate',
@ -75,14 +68,19 @@ return
{ 'ray-x/go.nvim',ft='go' },
{ 'ray-x/guihua.lua',ft='go' },
"williamboman/mason.nvim",
"williamboman/mason-lspconfig.nvim",
'nvim-lua/lsp-status.nvim',
'VonHeikemen/lsp-zero.nvim',
-- Completion and linting
'neovim/nvim-lspconfig',
{
'hrsh7th/nvim-cmp',
event = "InsertEnter",
event = "VimEnter",
dependencies = {
'onsails/lspkind.nvim',
'neovim/nvim-lspconfig',
'hrsh7th/cmp-nvim-lsp',
'hrsh7th/cmp-buffer',
'lukas-reineke/cmp-under-comparator',
@ -106,14 +104,14 @@ return
},
{
'ErichDonGubler/lsp_lines.nvim',
event = "InsertEnter",
config = function()
require("lsp_lines").setup()
end
event = "VimEnter",
keys = {
{ "<leader>l", function() require("lsp_lines").toggle() end, desc = "Toggle LSP Lines" },
},
},
{
'jose-elias-alvarez/null-ls.nvim',
event = "InsertEnter",
event = "VimEnter",
config = function()
require("config.null-ls")
end
@ -143,9 +141,10 @@ return
{
'folke/trouble.nvim',
event = "VimEnter",
config = function()
require("config.trouble")
end
end,
},
{
@ -160,16 +159,18 @@ return
},
{'andymass/vim-matchup', event = 'VimEnter'},
{ 'simrat39/symbols-outline.nvim', config = function()
require("config.symbols-outline")
end
},
{ 'simrat39/symbols-outline.nvim',
config = function()
require("config.symbols-outline")
end
},
{
'petertriho/nvim-scrollbar', config = function()
require("scrollbar").setup()
'petertriho/nvim-scrollbar',
config = function()
require("scrollbar").setup()
end,
lazy = false,
},
},
{
'rmagatti/auto-session',
@ -181,7 +182,6 @@ return
end
},
{
"ipod825/libp.nvim",
config = function()
@ -203,23 +203,6 @@ return
end
},
-- Git
{
{
'lewis6991/gitsigns.nvim',
dependencies = 'nvim-lua/plenary.nvim',
event = 'User ActuallyEditing',
},
{
'akinsho/git-conflict.nvim',
version = '*',
config = function()
require('git-conflict').setup()
end,
},
{ 'rhysd/conflict-marker.vim' }
},
{
"catppuccin/nvim",
name = "catppuccin",
@ -238,7 +221,8 @@ return
-- mine
{
'squk/java-syntax.vim', ft='java'
'squk/java-syntax.vim',
lazy = false,
},
{

View File

@ -0,0 +1,16 @@
return {
-- Git
{
'lewis6991/gitsigns.nvim',
dependencies = 'nvim-lua/plenary.nvim',
event = 'User ActuallyEditing',
},
{
'akinsho/git-conflict.nvim',
version = '*',
config = function()
require('git-conflict').setup()
end,
},
{ 'rhysd/conflict-marker.vim' }
}

View File

@ -8,10 +8,18 @@ return {
{
name = "cmp_nvim_ciderlsp",
url = 'sso://googler@user/piloto/cmp-nvim-ciderlsp',
lazy = false;
dependencies = {
'hrsh7th/nvim-cmp',
}
},
{
name = "ciderlsp_nvim",
url = 'sso://googler@user/kdark/ciderlsp-nvim',
lazy = false;
dependencies = {
'hrsh7th/nvim-cmp',
}
},
{
name = "nvim_figtree",
@ -80,4 +88,3 @@ return {
-- 'google/vim-glaive',
-- }
-- }

View File

@ -7,8 +7,8 @@ let g:signify_skip_filename_pattern = ['\.pipertmp.*']
Glug alert
Glug csearch
" Glug codefmt ktfmt_executable=`["/google/bin/releases/kotlin-google-eng/ktfmt/ktfmt_deploy.jar", "--google-style"]`
Glug codefmt
" Glug! codefmt ktfmt_executable=`["/google/bin/releases/kotlin-google-eng/ktfmt/ktfmt_deploy.jar", "--google-style"]`
Glug! codefmt
Glug codefmt-google
Glug languages
" applies google coding style settings to files whitelisted as google code. probably also want
@ -179,4 +179,3 @@ nmap <leader>yb :let @+ = join(blaze#GetTargets(), ' ')<cr>
Glug corpweb
nnoremap <leader>csw :CorpWebCsFile<cr>