minor change to packer and null ls

This commit is contained in:
Tiago Sousa 2023-10-22 18:57:24 +01:00
parent dfd988911d
commit 726abed27d
3 changed files with 12 additions and 17 deletions

View file

@ -39,7 +39,7 @@ return require('packer').startup(function(use)
use("williamboman/mason-lspconfig.nvim")
use("hrsh7th/cmp-nvim-lsp")
use("neovim/nvim-lspconfig")
use("jose-elias-alvarez/null-ls.nvim")
use("nvimtools/none-ls.nvim")
use({
"L3MON4D3/LuaSnip",
requires = {

View file

@ -49,8 +49,8 @@ local function save_profiles(threshold)
end
time([[Luarocks path setup]], true)
local package_path_str = "/home/tsousa/.cache/nvim/packer_hererocks/2.1.1694285958/share/lua/5.1/?.lua;/home/tsousa/.cache/nvim/packer_hererocks/2.1.1694285958/share/lua/5.1/?/init.lua;/home/tsousa/.cache/nvim/packer_hererocks/2.1.1694285958/lib/luarocks/rocks-5.1/?.lua;/home/tsousa/.cache/nvim/packer_hererocks/2.1.1694285958/lib/luarocks/rocks-5.1/?/init.lua"
local install_cpath_pattern = "/home/tsousa/.cache/nvim/packer_hererocks/2.1.1694285958/lib/lua/5.1/?.so"
local package_path_str = "/home/tsousa/.cache/nvim/packer_hererocks/2.1.1696795921/share/lua/5.1/?.lua;/home/tsousa/.cache/nvim/packer_hererocks/2.1.1696795921/share/lua/5.1/?/init.lua;/home/tsousa/.cache/nvim/packer_hererocks/2.1.1696795921/lib/luarocks/rocks-5.1/?.lua;/home/tsousa/.cache/nvim/packer_hererocks/2.1.1696795921/lib/luarocks/rocks-5.1/?/init.lua"
local install_cpath_pattern = "/home/tsousa/.cache/nvim/packer_hererocks/2.1.1696795921/lib/lua/5.1/?.so"
if not string.find(package.path, package_path_str, 1, true) then
package.path = package.path .. ';' .. package_path_str
end
@ -135,10 +135,10 @@ _G.packer_plugins = {
path = "/home/tsousa/.local/share/nvim/site/pack/packer/start/mason.nvim",
url = "https://github.com/williamboman/mason.nvim"
},
["null-ls.nvim"] = {
["none-ls.nvim"] = {
loaded = true,
path = "/home/tsousa/.local/share/nvim/site/pack/packer/start/null-ls.nvim",
url = "https://github.com/jose-elias-alvarez/null-ls.nvim"
path = "/home/tsousa/.local/share/nvim/site/pack/packer/start/none-ls.nvim",
url = "https://github.com/nvimtools/none-ls.nvim"
},
nvim = {
loaded = true,
@ -155,11 +155,6 @@ _G.packer_plugins = {
path = "/home/tsousa/.local/share/nvim/site/pack/packer/start/nvim-colorizer.lua",
url = "https://github.com/norcalli/nvim-colorizer.lua"
},
["nvim-jdtls"] = {
loaded = true,
path = "/home/tsousa/.local/share/nvim/site/pack/packer/start/nvim-jdtls",
url = "https://github.com/mfussenegger/nvim-jdtls"
},
["nvim-lspconfig"] = {
loaded = true,
path = "/home/tsousa/.local/share/nvim/site/pack/packer/start/nvim-lspconfig",