diff --git a/.config/nvim/lua/user/plugins.lua b/.config/nvim/lua/user/plugins.lua index aa52e3c..4365618 100644 --- a/.config/nvim/lua/user/plugins.lua +++ b/.config/nvim/lua/user/plugins.lua @@ -17,16 +17,26 @@ return require('packer').startup(function(use) 'williamboman/mason.nvim', 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 'nvim-tree/nvim-tree.lua' 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 {'neoclide/coc.nvim', branch = 'release'} -- Themes 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 -- Put this at the end after all plugins if packer_bootstrap then @@ -37,7 +47,18 @@ return require('packer').startup(function(use) require 'mason'.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 require 'nvim-autopairs'.setup() @@ -45,6 +66,11 @@ return require('packer').startup(function(use) -- nvim-tree setup require 'nvim-tree'.setup() + -- lspconfig + require 'mason-lspconfig'.setup() + require 'lspconfig'.cssls.setup{} + require 'lspconfig'.jsonls.setup{} + -- bufferline setup require 'bufferline'.setup()