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
|
-- Packer can manage itself
|
||||||
use 'wbthomason/packer.nvim'
|
use 'wbthomason/packer.nvim'
|
||||||
|
|
||||||
|
use('nvim-lua/plenary.nvim')
|
||||||
|
|
||||||
use {
|
use {
|
||||||
'nvim-telescope/telescope.nvim', tag = '0.1.0',
|
'nvim-telescope/telescope.nvim', tag = '0.1.0',
|
||||||
-- or , branch = '0.1.x',
|
-- or , branch = '0.1.x',
|
||||||
requires = { {'nvim-lua/plenary.nvim'} }
|
requires = { { 'nvim-lua/plenary.nvim' } }
|
||||||
}
|
}
|
||||||
|
|
||||||
use({
|
use({
|
||||||
@@ -21,7 +23,7 @@ return require('packer').startup(function(use)
|
|||||||
end
|
end
|
||||||
})
|
})
|
||||||
|
|
||||||
use({'nvim-treesitter/nvim-treesitter', run = ':TSUpdate'})
|
use({ 'nvim-treesitter/nvim-treesitter', run = ':TSUpdate' })
|
||||||
use('nvim-treesitter/playground')
|
use('nvim-treesitter/playground')
|
||||||
use('theprimeagen/harpoon')
|
use('theprimeagen/harpoon')
|
||||||
use('mbbill/undotree')
|
use('mbbill/undotree')
|
||||||
@@ -31,21 +33,21 @@ return require('packer').startup(function(use)
|
|||||||
branch = 'v1.x',
|
branch = 'v1.x',
|
||||||
requires = {
|
requires = {
|
||||||
-- LSP Support
|
-- LSP Support
|
||||||
{'neovim/nvim-lspconfig'},
|
{ 'neovim/nvim-lspconfig' },
|
||||||
{'williamboman/mason.nvim'},
|
{ 'williamboman/mason.nvim' },
|
||||||
{'williamboman/mason-lspconfig.nvim'},
|
{ 'williamboman/mason-lspconfig.nvim' },
|
||||||
|
|
||||||
-- Autocompletion
|
-- Autocompletion
|
||||||
{'hrsh7th/nvim-cmp'},
|
{ 'hrsh7th/nvim-cmp' },
|
||||||
{'hrsh7th/cmp-buffer'},
|
{ 'hrsh7th/cmp-buffer' },
|
||||||
{'hrsh7th/cmp-path'},
|
{ 'hrsh7th/cmp-path' },
|
||||||
{'saadparwaiz1/cmp_luasnip'},
|
{ 'saadparwaiz1/cmp_luasnip' },
|
||||||
{'hrsh7th/cmp-nvim-lsp'},
|
{ 'hrsh7th/cmp-nvim-lsp' },
|
||||||
{'hrsh7th/cmp-nvim-lua'},
|
{ 'hrsh7th/cmp-nvim-lua' },
|
||||||
|
|
||||||
-- Snippets
|
-- Snippets
|
||||||
{'L3MON4D3/LuaSnip'},
|
{ 'L3MON4D3/LuaSnip' },
|
||||||
{'rafamadriz/friendly-snippets'},
|
{ 'rafamadriz/friendly-snippets' },
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -53,5 +55,6 @@ return require('packer').startup(function(use)
|
|||||||
use("github/copilot.vim")
|
use("github/copilot.vim")
|
||||||
use("eandrju/cellular-automaton.nvim")
|
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",
|
path = "/Users/talksik/.local/share/nvim/site/pack/packer/start/mason.nvim",
|
||||||
url = "https://github.com/williamboman/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"] = {
|
["nvim-cmp"] = {
|
||||||
loaded = true,
|
loaded = true,
|
||||||
path = "/Users/talksik/.local/share/nvim/site/pack/packer/start/nvim-cmp",
|
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",
|
path = "/Users/talksik/.local/share/nvim/site/pack/packer/start/undotree",
|
||||||
url = "https://github.com/mbbill/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"] = {
|
["zen-mode.nvim"] = {
|
||||||
loaded = true,
|
loaded = true,
|
||||||
path = "/Users/talksik/.local/share/nvim/site/pack/packer/start/zen-mode.nvim",
|
path = "/Users/talksik/.local/share/nvim/site/pack/packer/start/zen-mode.nvim",
|
||||||
|
|||||||
Reference in New Issue
Block a user