adding in plenary with null ls for formatting and linting
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
local null_ls = require("null-ls")
|
||||
|
||||
null_ls.setup({
|
||||
sources = {
|
||||
null_ls.builtins.diagnostics.eslint,
|
||||
},
|
||||
})
|
||||
+17
-14
@@ -7,10 +7,12 @@ return require('packer').startup(function(use)
|
||||
-- Packer can manage itself
|
||||
use 'wbthomason/packer.nvim'
|
||||
|
||||
use('nvim-lua/plenary.nvim')
|
||||
|
||||
use {
|
||||
'nvim-telescope/telescope.nvim', tag = '0.1.0',
|
||||
-- or , branch = '0.1.x',
|
||||
requires = { {'nvim-lua/plenary.nvim'} }
|
||||
requires = { { 'nvim-lua/plenary.nvim' } }
|
||||
}
|
||||
|
||||
use({
|
||||
@@ -21,7 +23,7 @@ return require('packer').startup(function(use)
|
||||
end
|
||||
})
|
||||
|
||||
use({'nvim-treesitter/nvim-treesitter', run = ':TSUpdate'})
|
||||
use({ 'nvim-treesitter/nvim-treesitter', run = ':TSUpdate' })
|
||||
use('nvim-treesitter/playground')
|
||||
use('theprimeagen/harpoon')
|
||||
use('mbbill/undotree')
|
||||
@@ -31,21 +33,21 @@ return require('packer').startup(function(use)
|
||||
branch = 'v1.x',
|
||||
requires = {
|
||||
-- LSP Support
|
||||
{'neovim/nvim-lspconfig'},
|
||||
{'williamboman/mason.nvim'},
|
||||
{'williamboman/mason-lspconfig.nvim'},
|
||||
{ 'neovim/nvim-lspconfig' },
|
||||
{ 'williamboman/mason.nvim' },
|
||||
{ 'williamboman/mason-lspconfig.nvim' },
|
||||
|
||||
-- Autocompletion
|
||||
{'hrsh7th/nvim-cmp'},
|
||||
{'hrsh7th/cmp-buffer'},
|
||||
{'hrsh7th/cmp-path'},
|
||||
{'saadparwaiz1/cmp_luasnip'},
|
||||
{'hrsh7th/cmp-nvim-lsp'},
|
||||
{'hrsh7th/cmp-nvim-lua'},
|
||||
{ 'hrsh7th/nvim-cmp' },
|
||||
{ 'hrsh7th/cmp-buffer' },
|
||||
{ 'hrsh7th/cmp-path' },
|
||||
{ 'saadparwaiz1/cmp_luasnip' },
|
||||
{ 'hrsh7th/cmp-nvim-lsp' },
|
||||
{ 'hrsh7th/cmp-nvim-lua' },
|
||||
|
||||
-- Snippets
|
||||
{'L3MON4D3/LuaSnip'},
|
||||
{'rafamadriz/friendly-snippets'},
|
||||
{ 'L3MON4D3/LuaSnip' },
|
||||
{ 'rafamadriz/friendly-snippets' },
|
||||
}
|
||||
}
|
||||
|
||||
@@ -53,5 +55,6 @@ return require('packer').startup(function(use)
|
||||
use("github/copilot.vim")
|
||||
use("eandrju/cellular-automaton.nvim")
|
||||
|
||||
end)
|
||||
use("jose-elias-alvarez/null-ls.nvim")
|
||||
|
||||
end)
|
||||
|
||||
@@ -139,6 +139,11 @@ _G.packer_plugins = {
|
||||
path = "/Users/talksik/.local/share/nvim/site/pack/packer/start/mason.nvim",
|
||||
url = "https://github.com/williamboman/mason.nvim"
|
||||
},
|
||||
["null-ls.nvim"] = {
|
||||
loaded = true,
|
||||
path = "/Users/talksik/.local/share/nvim/site/pack/packer/start/null-ls.nvim",
|
||||
url = "https://github.com/jose-elias-alvarez/null-ls.nvim"
|
||||
},
|
||||
["nvim-cmp"] = {
|
||||
loaded = true,
|
||||
path = "/Users/talksik/.local/share/nvim/site/pack/packer/start/nvim-cmp",
|
||||
@@ -185,11 +190,6 @@ _G.packer_plugins = {
|
||||
path = "/Users/talksik/.local/share/nvim/site/pack/packer/start/undotree",
|
||||
url = "https://github.com/mbbill/undotree"
|
||||
},
|
||||
["vim-fugitive"] = {
|
||||
loaded = true,
|
||||
path = "/Users/talksik/.local/share/nvim/site/pack/packer/start/vim-fugitive",
|
||||
url = "https://github.com/tpope/vim-fugitive"
|
||||
},
|
||||
["zen-mode.nvim"] = {
|
||||
loaded = true,
|
||||
path = "/Users/talksik/.local/share/nvim/site/pack/packer/start/zen-mode.nvim",
|
||||
|
||||
Reference in New Issue
Block a user