added some additional plugins for lsp stuff mostly

This commit is contained in:
Mike G 2023-12-29 05:49:20 -05:00
parent f037f54f85
commit 83413516e7

View file

@ -17,16 +17,26 @@ return require('packer').startup(function(use)
'williamboman/mason.nvim', 'williamboman/mason.nvim',
run = ':MasonUpdate' -- :MasonUpdate updates registry contents run = ':MasonUpdate' -- :MasonUpdate updates registry contents
} }
use 'NvChad/nvim-colorizer.lua' -- use 'NvChad/nvim-colorizer.lua'
use 'uga-rosa/ccc.nvim'
use 'windwp/nvim-autopairs' use 'windwp/nvim-autopairs'
use 'nvim-tree/nvim-tree.lua' use 'nvim-tree/nvim-tree.lua'
use 'nvim-tree/nvim-web-devicons' use 'nvim-tree/nvim-web-devicons'
use 'williamboman/mason-lspconfig.nvim'
use 'neovim/nvim-lspconfig'
use {'akinsho/bufferline.nvim', tag = "*", requires = 'nvim-tree/nvim-web-devicons'} use {'akinsho/bufferline.nvim', tag = "*", requires = 'nvim-tree/nvim-web-devicons'}
-- use {'neoclide/coc.nvim', branch = 'release'} -- use {'neoclide/coc.nvim', branch = 'release'}
-- Themes -- Themes
use 'folke/tokyonight.nvim' use 'folke/tokyonight.nvim'
use 'numToStr/Comment.nvim'
use 'mfussenegger/nvim-dap'
use { "rcarriga/nvim-dap-ui", requires = {"mfussenegger/nvim-dap"}}
use 'mfussenegger/nvim-lint'
use 'mhartington/formatter.nvim'
-- Automatically set up your configuration after cloning packer.nvim -- Automatically set up your configuration after cloning packer.nvim
-- Put this at the end after all plugins -- Put this at the end after all plugins
if packer_bootstrap then if packer_bootstrap then
@ -37,7 +47,18 @@ return require('packer').startup(function(use)
require 'mason'.setup() require 'mason'.setup()
-- colorizer setup -- colorizer setup
require 'colorizer'.setup() -- require 'colorizer'.setup()
-- comment.nvim for toggling line comments
require 'Comment'.setup()
-- ccc.nvim setup
require 'ccc'.setup({
highlighter = {
auto_enable = true,
lsp = false,
},
})
-- autopairs setup -- autopairs setup
require 'nvim-autopairs'.setup() require 'nvim-autopairs'.setup()
@ -45,6 +66,11 @@ return require('packer').startup(function(use)
-- nvim-tree setup -- nvim-tree setup
require 'nvim-tree'.setup() require 'nvim-tree'.setup()
-- lspconfig
require 'mason-lspconfig'.setup()
require 'lspconfig'.cssls.setup{}
require 'lspconfig'.jsonls.setup{}
-- bufferline setup -- bufferline setup
require 'bufferline'.setup() require 'bufferline'.setup()