Fixes for nvim 0.6

This commit is contained in:
ViViDboarder 2023-06-12 09:13:48 -07:00
parent 6435692fc3
commit 3f444b9dc1
2 changed files with 231 additions and 3 deletions

View File

@ -27,6 +27,7 @@ packer.init({
[">=0.9.0"] = "latest-0.9",
[">=0.8.0"] = "latest-0.8",
[">=0.7.0"] = "latest-0.7",
[">=0.6.0"] = "latest-0.6",
[">=0.5.0"] = "latest",
}),
snapshot_path = packer_util.join_paths(vim.fn.stdpath("config"), "packer_snapshots"),
@ -88,7 +89,13 @@ use({
},
},
{ "ViViDboarder/wombuddy.nvim", requires = "tjdevries/colorbuddy.vim" },
"ishan9299/nvim-solarized-lua",
{
"ishan9299/nvim-solarized-lua",
commit = utils.map_version_rule({
[">=0.7.0"] = utils.nil_val,
["<0.7.0"] = "faba49b",
}),
},
{
"folke/tokyonight.nvim",
run = 'fish -c \'echo "set --path --prepend fish_themes_path "(pwd)"/extras" > ~/.config/fish/conf.d/tokyonight.fish\' || true', -- luacheck: no max line length
@ -122,9 +129,16 @@ use("ludovicchabant/vim-gutentags")
-- Make it easier to discover some of my keymaps
use({
"folke/which-key.nvim",
-- TODO: Pin < 0.7 version
config = function()
require("plugins.whichkey").configure()
end,
--[[
commit = utils.map_version_rule({
[">=0.7.0"]= utils.,
["<0.7.0"]= "bd4411a",
}),
--]]
})
-- Better commenting
@ -256,7 +270,14 @@ use({
})
-- Better display of lsp diagnostics
use("folke/trouble.nvim")
-- TODO: Pin < 0.7 version
use({
"folke/trouble.nvim",
tag = utils.map_version_rule({
[">=0.7.2"] = "stable",
["<0.7.2"] = "v1.0.2",
}),
})
-- Incremental lsp rename view
use({
@ -310,22 +331,38 @@ use({
commit = utils.map_version_rule({
[">=0.8.0"] = utils.nil_val,
[">=0.7.0"] = "4cccb6f494eb255b32a290d37c35ca12584c74d0",
[">=0.6.0"] = "bc25a6a5",
[">=0.5.0"] = "a189323454d1215c682c7ad7db3e6739d26339c4",
}),
config = function()
require("utils").require_with_local("plugins.treesitter").setup()
end,
})
--[[ TODO: Enable this as an alterantive or fallback for LSPs
use({
"nvim-treesitter/nvim-treesitter-refactor",
requires = "nvim-treesitter/nvim-treesitter",
commit = utils.map_version_rule({
[">=0.7.0"] = utils.nil_val,
["<0.7.0"] = "75f5895",
}),
})
--]]
use({
"nvim-treesitter/nvim-treesitter-textobjects",
requires = "nvim-treesitter/nvim-treesitter",
commit = utils.map_version_rule({
[">=0.7.0"] = utils.nil_val,
["<0.7.0"] = "eca3bf30334f85259d41dc060d50994f8f91ef7d",
}),
})
-- Completion
use({
"L3MON4D3/LuaSnip",
tag = "v1.*",
})
use({
"hrsh7th/nvim-cmp",
config = function()
@ -336,7 +373,14 @@ use({
[">=0.5.0"] = "bba6fb67fdafc0af7c5454058dfbabc2182741f4",
}),
requires = {
{ "hrsh7th/cmp-nvim-lsp", after = "nvim-cmp" },
{
"hrsh7th/cmp-nvim-lsp",
after = "nvim-cmp",
commit = utils.map_version_rule({
[">=0.7.0"] = utils.nil_val,
["<0.7.0"] = "3cf38d9c957e95c397b66f91967758b31be4abe6",
}),
},
{ "hrsh7th/cmp-buffer", after = "nvim-cmp" },
{ "f3fora/cmp-spell", after = "nvim-cmp" },
{
@ -427,6 +471,14 @@ use({
config = function()
require("plugins.todo")
end,
tag = utils.map_version_rule({
[">=0.8.0"] = "stable",
["<0.8.0"] = utils.nil_val,
}),
branch = utils.map_version_rule({
[">=0.8.0"] = utils.nil_val,
["<0.8.0"] = "neovim-pre-0.8.0",
}),
})
-- Fancy notifications

View File

@ -0,0 +1,176 @@
{
"LuaSnip": {
"commit": "500981f"
},
"cmp-buffer": {
"commit": "3022dbc"
},
"cmp-nvim-lsp": {
"commit": "3cf38d9"
},
"cmp-spell": {
"commit": "60584cb"
},
"cmp_luasnip": {
"commit": "b108297"
},
"colorbuddy.vim": {
"commit": "cdb5b06"
},
"dark-notify": {
"commit": "891adc0"
},
"file-line": {
"commit": "67c3590"
},
"friendly-snippets": {
"commit": "49ca2a0"
},
"goyo.vim": {
"commit": "fa0263d"
},
"impatient.nvim": {
"commit": "969f2c5"
},
"limelight.vim": {
"commit": "86aaec1"
},
"lsp_signature.nvim": {
"commit": "17ff7a4"
},
"lualine.nvim": {
"commit": "05d78e9"
},
"lush.nvim": {
"commit": "87e9039"
},
"neodev.nvim": {
"commit": "c120c96"
},
"null-ls.nvim": {
"commit": "4b403d2"
},
"nvim-cmp": {
"commit": "bba6fb6"
},
"nvim-colorizer.lua": {
"commit": "36c610a"
},
"nvim-gps": {
"commit": "f4734df"
},
"nvim-lspconfig": {
"commit": "ea29110"
},
"nvim-notify": {
"commit": "ea9c8ce"
},
"nvim-solarized-lua": {
"commit": "faba49b"
},
"nvim-treesitter": {
"commit": "bc25a6a5"
},
"nvim-treesitter-textobjects": {
"commit": "eca3bf3"
},
"packer.nvim": {
"commit": "1d0cf98"
},
"plenary.nvim": {
"commit": "36aaceb"
},
"popup.nvim": {
"commit": "b7404d3"
},
"rust.vim": {
"commit": "889b9a7"
},
"startuptime.vim": {
"commit": "dfa57f5"
},
"tcomment_vim": {
"commit": "b4930f9"
},
"telescope-file-browser.nvim": {
"commit": "87dfaa9"
},
"telescope.nvim": {
"commit": "d88094f"
},
"todo-comments.nvim": {
"commit": "7b8f174"
},
"tokyonight.nvim": {
"commit": "161114b"
},
"trouble.nvim": {
"commit": "556ef30"
},
"vim-android": {
"commit": "8911f86"
},
"vim-argwrap": {
"commit": "feaba6b"
},
"vim-endwise": {
"commit": "e714ac3"
},
"vim-eunuch": {
"commit": "291ef1f"
},
"vim-forcedotcom": {
"commit": "a30ba7e"
},
"vim-fugitive": {
"commit": "5a24c25"
},
"vim-grepper": {
"commit": "2b93535"
},
"vim-gutentags": {
"commit": "1337b18"
},
"vim-pencil": {
"commit": "6d70438"
},
"vim-polyglot": {
"commit": "bc8a81d3"
},
"vim-repeat": {
"commit": "24afe92"
},
"vim-rsi": {
"commit": "4554063"
},
"vim-startify": {
"commit": "81e36c3"
},
"vim-surround": {
"commit": "3d188ed"
},
"vim-textobj-sentence": {
"commit": "c5dd562"
},
"vim-textobj-user": {
"commit": "41a675d"
},
"vim-togglelist": {
"commit": "48f0d30"
},
"vim-vinegar": {
"commit": "bb1bcdd"
},
"which-key.nvim": {
"commit": "e271c28"
},
"wombat.nvim": {
"commit": "96989b1"
},
"wombat256.vim": {
"commit": "8734ba4"
},
"wombuddy.nvim": {
"commit": "29deb8f"
}
}