2021-09-03 01:18:44 -07:00
|
|
|
-- Load plugins
|
2021-12-02 03:00:51 -08:00
|
|
|
-- Bootstrap packer if needed {{
|
2021-09-03 01:18:44 -07:00
|
|
|
local fn = vim.fn
|
|
|
|
local install_path = fn.stdpath('data')..'/site/pack/packer/start/packer.nvim'
|
|
|
|
if fn.empty(fn.glob(install_path)) > 0 then
|
2021-09-05 13:47:46 -07:00
|
|
|
fn.system({'git', 'clone', '--depth', '1', 'https://github.com/wbthomason/packer.nvim', install_path})
|
|
|
|
vim.cmd 'packadd packer.nvim'
|
2021-09-03 01:18:44 -07:00
|
|
|
end
|
2021-12-02 03:00:51 -08:00
|
|
|
-- }}
|
2021-09-03 01:18:44 -07:00
|
|
|
|
2021-12-16 14:41:01 -08:00
|
|
|
local use = require('packer').use
|
|
|
|
|
2021-11-25 04:32:01 -08:00
|
|
|
return require('packer').startup({function()
|
2021-12-02 03:00:51 -08:00
|
|
|
-- TODO: Find a better way to organize this
|
|
|
|
|
|
|
|
-- impatient (needs to go early)
|
2022-06-05 11:42:12 -07:00
|
|
|
use { -- lewis6991: impatient: Make nvim load faster by caching them
|
2021-12-02 03:00:51 -08:00
|
|
|
'lewis6991/impatient.nvim',
|
2021-12-03 01:05:26 -08:00
|
|
|
config = function()
|
|
|
|
require('impatient')
|
|
|
|
end,
|
2021-12-02 03:00:51 -08:00
|
|
|
}
|
2021-09-25 02:19:19 -07:00
|
|
|
|
2021-09-03 01:18:44 -07:00
|
|
|
-- Packer
|
2022-06-05 11:42:12 -07:00
|
|
|
use { -- packer
|
2021-11-25 04:32:01 -08:00
|
|
|
'wbthomason/packer.nvim',
|
2021-12-03 01:05:26 -08:00
|
|
|
config = function()
|
|
|
|
-- Map :PS to :PackerSync
|
2021-11-25 04:32:01 -08:00
|
|
|
vim.cmd 'command! PS PackerSync'
|
|
|
|
end
|
2021-09-03 01:18:44 -07:00
|
|
|
}
|
|
|
|
|
2021-12-02 03:00:51 -08:00
|
|
|
-- Colors (decorations)
|
2022-06-05 11:42:12 -07:00
|
|
|
use { -- treesitter: syntax highlighting and more
|
2021-09-03 01:18:44 -07:00
|
|
|
'nvim-treesitter/nvim-treesitter', run = ':TSUpdate',
|
|
|
|
config = function()
|
2021-09-27 20:29:55 -07:00
|
|
|
require('blake.lsp').treesitter()
|
2021-09-03 01:18:44 -07:00
|
|
|
end,
|
2021-12-02 03:00:51 -08:00
|
|
|
}
|
2022-06-05 11:42:12 -07:00
|
|
|
use { -- onedark theme
|
2021-09-03 01:18:44 -07:00
|
|
|
'navarasu/onedark.nvim',
|
|
|
|
config = function()
|
2021-11-22 01:14:18 -08:00
|
|
|
-- vim.g.onedark_transparent_background = true
|
2021-12-26 16:18:33 -08:00
|
|
|
vim.cmd [[
|
2022-02-06 22:13:22 -08:00
|
|
|
"au ColorScheme onedark hi TabLine gui=none guibg='#282C34' guifg='#5C6370' " all tabs color
|
2021-12-26 16:18:33 -08:00
|
|
|
au ColorScheme onedark hi TabLineSel guibg='#282C34' guifg='#B5BBC7' " Highlighted tab color
|
2022-02-06 22:13:22 -08:00
|
|
|
"au ColorScheme onedark hi TabLineFill guibg='#282C34' " tabline portion without tabs (right-hand side)
|
2021-12-26 16:18:33 -08:00
|
|
|
]]
|
|
|
|
end
|
|
|
|
}
|
2022-06-05 11:42:12 -07:00
|
|
|
use { -- tokyonight theme
|
2022-06-04 22:12:08 -07:00
|
|
|
'folke/tokyonight.nvim',
|
2022-06-09 20:30:33 -07:00
|
|
|
config = function()
|
|
|
|
-- vim.g.onedark_transparent_background = true
|
|
|
|
vim.cmd [[
|
|
|
|
"au ColorScheme tokyonight hi TabLine gui=none guibg='#24283B' guifg='#5C6370' " all tabs color
|
|
|
|
au ColorScheme tokyonight hi TabLineSel guibg='#24283B' guifg='#C0CAF5' " Highlighted tab color
|
|
|
|
"au ColorScheme tokyonight hi TabLineFill guibg='#24283B' " tabline portion without tabs (right-hand side)
|
|
|
|
]]
|
|
|
|
end,
|
2022-06-04 22:12:08 -07:00
|
|
|
}
|
2022-06-05 11:42:12 -07:00
|
|
|
use { -- newspring: Good light theme for writing
|
2022-01-31 19:45:08 -08:00
|
|
|
'NLKNguyen/papercolor-theme',
|
|
|
|
}
|
2022-06-05 11:42:12 -07:00
|
|
|
use { -- statusline: lualine
|
2021-12-26 16:18:33 -08:00
|
|
|
'nvim-lualine/lualine.nvim',
|
|
|
|
requires = {'kyazdani42/nvim-web-devicons', opt = true},
|
|
|
|
config = function()
|
|
|
|
require('blake.other').lualine()
|
|
|
|
end,
|
|
|
|
}
|
2022-06-05 11:42:12 -07:00
|
|
|
use { -- nvim-tabline
|
2022-02-06 22:13:22 -08:00
|
|
|
'seblj/nvim-tabline',
|
2021-12-26 16:18:33 -08:00
|
|
|
requires = 'kyazdani42/nvim-web-devicons',
|
|
|
|
config = function()
|
2022-02-06 22:13:22 -08:00
|
|
|
require('tabline').setup {
|
|
|
|
-- Disable icons (and clickable buttons)
|
|
|
|
modified_icon = '',
|
|
|
|
close_icon = '',
|
|
|
|
}
|
2021-09-03 01:18:44 -07:00
|
|
|
end
|
|
|
|
}
|
2022-06-05 11:42:12 -07:00
|
|
|
use { -- css color tag highlighter (ex: #FFB13B)
|
2021-12-16 14:41:01 -08:00
|
|
|
'norcalli/nvim-colorizer.lua',
|
|
|
|
config = function()
|
|
|
|
vim.cmd 'command! COL ColorizerToggle'
|
|
|
|
end,
|
|
|
|
}
|
2021-09-03 01:18:44 -07:00
|
|
|
|
|
|
|
-- IDE features
|
2022-05-13 04:28:53 -07:00
|
|
|
---- LSP
|
2022-06-05 11:42:12 -07:00
|
|
|
use { -- lspinstall + lspconfig
|
2021-12-07 15:23:04 -08:00
|
|
|
'williamboman/nvim-lsp-installer',
|
2022-06-05 11:42:12 -07:00
|
|
|
{ -- lspconfig
|
2022-05-13 04:28:53 -07:00
|
|
|
'neovim/nvim-lspconfig',
|
|
|
|
config = function()
|
|
|
|
require('blake.lsp').lspinstall()
|
|
|
|
require('blake.lsp').lspconfig()
|
|
|
|
end
|
|
|
|
}
|
2021-09-03 01:18:44 -07:00
|
|
|
}
|
2022-06-05 11:42:12 -07:00
|
|
|
use { -- commentstring based on context from treesitter
|
2021-12-26 16:18:33 -08:00
|
|
|
'JoosepAlviste/nvim-ts-context-commentstring',
|
|
|
|
requires = 'nvim-treesitter/nvim-treesitter',
|
|
|
|
config = function()
|
|
|
|
require'nvim-treesitter.configs'.setup {
|
|
|
|
context_commentstring = {
|
|
|
|
enable = true,
|
|
|
|
enable_autocmd = false,
|
2022-01-08 05:18:04 -08:00
|
|
|
},
|
2021-12-26 16:18:33 -08:00
|
|
|
}
|
|
|
|
end,
|
|
|
|
}
|
2022-06-05 11:42:12 -07:00
|
|
|
use { -- compe
|
2021-09-27 20:29:55 -07:00
|
|
|
'hrsh7th/nvim-cmp',
|
2021-09-06 17:56:58 -07:00
|
|
|
config = function()
|
2021-09-24 21:20:05 -07:00
|
|
|
require('blake.lsp').cmp()
|
2021-09-06 17:56:58 -07:00
|
|
|
end,
|
2021-12-02 03:00:51 -08:00
|
|
|
requires = { -- (mostly) nvim-cmp sources (not required by cmp, but reqired by my configuration)
|
|
|
|
'onsails/lspkind-nvim', -- icons for entries of the completion menu
|
2021-09-27 20:29:55 -07:00
|
|
|
'hrsh7th/cmp-path',
|
2021-11-25 04:32:01 -08:00
|
|
|
'hrsh7th/cmp-nvim-lua',
|
2021-09-27 20:29:55 -07:00
|
|
|
'hrsh7th/cmp-nvim-lsp',
|
2022-04-25 14:00:19 -07:00
|
|
|
'saadparwaiz1/cmp_luasnip',
|
2021-11-25 05:16:30 -08:00
|
|
|
'ray-x/cmp-treesitter',
|
2021-11-25 04:32:01 -08:00
|
|
|
'hrsh7th/cmp-calc',
|
|
|
|
'f3fora/cmp-spell',
|
2021-09-27 20:29:55 -07:00
|
|
|
'hrsh7th/cmp-buffer',
|
2021-11-25 05:16:30 -08:00
|
|
|
'hrsh7th/cmp-cmdline',
|
2021-09-27 20:29:55 -07:00
|
|
|
'hrsh7th/cmp-emoji',
|
2021-12-07 15:23:04 -08:00
|
|
|
},
|
2021-09-05 13:47:46 -07:00
|
|
|
}
|
2022-06-05 11:42:12 -07:00
|
|
|
use { -- luasnip (snippits)
|
2022-04-25 14:00:19 -07:00
|
|
|
'L3MON4D3/LuaSnip',
|
|
|
|
}
|
2022-06-05 11:42:12 -07:00
|
|
|
use { -- function parameter previews
|
2021-09-27 20:29:55 -07:00
|
|
|
'ray-x/lsp_signature.nvim',
|
|
|
|
after = 'nvim-lspconfig',
|
2021-09-03 01:18:44 -07:00
|
|
|
config = function()
|
2021-09-27 20:29:55 -07:00
|
|
|
require('blake.lsp').signature()
|
2021-09-03 01:18:44 -07:00
|
|
|
end,
|
|
|
|
}
|
2022-06-05 11:42:12 -07:00
|
|
|
use { -- symbols-outline: treesitter-based document outline (:SO)
|
2021-12-02 03:00:51 -08:00
|
|
|
'simrat39/symbols-outline.nvim',
|
|
|
|
config = function()
|
|
|
|
vim.cmd 'command! SO SymbolsOutline'
|
2022-05-02 03:48:00 -07:00
|
|
|
vim.cmd 'nnoremap <Leader>so <cmd>SymbolsOutline<CR>'
|
2021-12-02 03:00:51 -08:00
|
|
|
end,
|
|
|
|
}
|
2022-06-05 11:42:12 -07:00
|
|
|
-- use { -- ALE: Support for lots of linters, etc
|
2022-05-15 00:43:47 -07:00
|
|
|
-- 'dense-analysis/ale',
|
|
|
|
-- ft = {'sh', 'zsh', 'zshrc', 'bashrc', 'bash'},
|
|
|
|
-- config = function()
|
|
|
|
-- vim.g.ale_disable_lsp = 1
|
|
|
|
-- end
|
|
|
|
-- }
|
2021-09-28 01:52:37 -07:00
|
|
|
---- DAP (Debug Adapter Protocol)
|
2022-06-05 11:42:12 -07:00
|
|
|
use { -- nvim-dap: DAP support
|
2021-09-28 01:52:37 -07:00
|
|
|
'mfussenegger/nvim-dap',
|
|
|
|
config = function()
|
|
|
|
require('blake.dap').nvim_dap()
|
|
|
|
end
|
|
|
|
}
|
2022-06-05 11:42:12 -07:00
|
|
|
-- use { -- DAP adapter installer
|
2022-04-27 00:50:10 -07:00
|
|
|
-- 'Pocco81/dap-buddy.nvim',
|
|
|
|
-- config = function()
|
|
|
|
-- require('blake.dap').dap_buddy()
|
|
|
|
-- end
|
|
|
|
-- }
|
2022-06-05 11:42:12 -07:00
|
|
|
use { -- virtual-text: Print Variable names while debugging
|
2021-09-28 01:52:37 -07:00
|
|
|
'theHamsta/nvim-dap-virtual-text',
|
|
|
|
config = function()
|
2021-11-20 17:09:28 -08:00
|
|
|
require("nvim-dap-virtual-text").setup()
|
2021-09-28 01:52:37 -07:00
|
|
|
end
|
|
|
|
}
|
2022-06-05 11:42:12 -07:00
|
|
|
use { -- a UI for nvim-dap (easy access to info)
|
2021-09-28 01:52:37 -07:00
|
|
|
'rcarriga/nvim-dap-ui',
|
|
|
|
config = function()
|
|
|
|
require('blake.dap').dap_ui()
|
|
|
|
end,
|
|
|
|
}
|
|
|
|
|
2021-09-03 01:53:53 -07:00
|
|
|
---- Other IDE features
|
2022-06-05 11:42:12 -07:00
|
|
|
use { -- telescope: fuzzy finder for finding fuzzy things
|
2022-04-15 14:32:46 -07:00
|
|
|
'nvim-telescope/telescope.nvim',
|
|
|
|
requires = { {'nvim-lua/plenary.nvim'} },
|
|
|
|
config = function()
|
|
|
|
require('blake.other').telescope()
|
|
|
|
end
|
|
|
|
}
|
2022-06-05 11:42:12 -07:00
|
|
|
use { -- git integration
|
2021-09-03 01:18:44 -07:00
|
|
|
'lewis6991/gitsigns.nvim',
|
|
|
|
requires = {
|
|
|
|
'nvim-lua/plenary.nvim'
|
|
|
|
},
|
2021-09-15 21:42:31 -07:00
|
|
|
config = function()
|
2021-09-24 21:20:05 -07:00
|
|
|
require('blake.other').gitsigns()
|
2021-09-15 21:42:31 -07:00
|
|
|
end,
|
2021-09-03 01:18:44 -07:00
|
|
|
}
|
2022-06-05 11:42:12 -07:00
|
|
|
-- use { -- file manager
|
2021-12-26 16:18:33 -08:00
|
|
|
-- 'kyazdani42/nvim-tree.lua',
|
|
|
|
-- requires = 'kyazdani42/nvim-web-devicons',
|
|
|
|
-- config = function()
|
|
|
|
-- require('blake.other').nvimtree()
|
|
|
|
-- end
|
|
|
|
-- }
|
2022-06-05 11:42:12 -07:00
|
|
|
use { -- terminal
|
2021-09-27 20:29:55 -07:00
|
|
|
'akinsho/toggleterm.nvim',
|
2022-05-13 04:28:53 -07:00
|
|
|
tag = 'v1.*',
|
2021-09-03 01:18:44 -07:00
|
|
|
config = function()
|
2021-09-24 21:20:05 -07:00
|
|
|
require('blake.other').toggleterm()
|
2021-09-03 01:18:44 -07:00
|
|
|
end
|
|
|
|
}
|
2022-06-05 11:42:12 -07:00
|
|
|
use { -- Smooth Scrolling
|
2021-09-27 20:29:55 -07:00
|
|
|
'karb94/neoscroll.nvim',
|
2021-09-20 02:48:09 -07:00
|
|
|
config = function()
|
2021-09-24 21:20:05 -07:00
|
|
|
require('blake.other').neoscroll()
|
2021-09-20 02:48:09 -07:00
|
|
|
end,
|
2021-09-05 13:47:46 -07:00
|
|
|
}
|
2022-06-05 11:42:12 -07:00
|
|
|
use { -- automatic session management
|
2021-09-07 17:59:31 -07:00
|
|
|
'rmagatti/auto-session',
|
|
|
|
config = function()
|
2021-09-24 21:20:05 -07:00
|
|
|
require('blake.other').autosession()
|
2021-09-07 17:59:31 -07:00
|
|
|
end
|
|
|
|
}
|
2022-06-05 11:42:12 -07:00
|
|
|
use { -- Markdown preview
|
2021-09-15 21:39:21 -07:00
|
|
|
'ellisonleao/glow.nvim',
|
|
|
|
ft = { 'md', 'markdown', }
|
|
|
|
}
|
2022-06-05 11:42:12 -07:00
|
|
|
use { -- Zen mode (:ZenMode or :ZM)
|
2021-12-02 03:00:51 -08:00
|
|
|
"folke/zen-mode.nvim",
|
|
|
|
config = function()
|
2022-01-20 03:16:39 -08:00
|
|
|
require('blake.other').zenmode()
|
2022-03-15 00:46:12 -07:00
|
|
|
vim.cmd 'nnoremap <F10> <cmd>ZenMode<CR>'
|
2022-04-27 17:34:38 -07:00
|
|
|
vim.cmd 'inoremap <F10> <cmd>ZenMode<CR>'
|
2021-12-02 03:00:51 -08:00
|
|
|
end,
|
|
|
|
}
|
2022-06-05 11:42:12 -07:00
|
|
|
-- use { -- dim text outside paragraph or function
|
2022-01-30 20:05:19 -08:00
|
|
|
-- 'folke/twilight.nvim',
|
|
|
|
-- config = function()
|
|
|
|
-- vim.cmd 'command! TW Twilight'
|
|
|
|
-- require("twilight").setup()
|
|
|
|
-- end,
|
|
|
|
-- }
|
2022-06-05 11:42:12 -07:00
|
|
|
use { -- matchup: Use the percent (%) key for more things
|
2021-12-02 03:00:51 -08:00
|
|
|
'andymass/vim-matchup',
|
|
|
|
}
|
2022-06-05 11:42:12 -07:00
|
|
|
-- use { -- lightspeed: Jump around in files quickly
|
2021-12-02 03:00:51 -08:00
|
|
|
-- 'ggandor/lightspeed.nvim',
|
|
|
|
-- }
|
2022-06-05 11:42:12 -07:00
|
|
|
use { -- indentline: Line indent indicators
|
2022-01-21 17:41:25 -08:00
|
|
|
'lukas-reineke/indent-blankline.nvim',
|
2021-12-03 01:05:26 -08:00
|
|
|
config = function()
|
2022-01-21 17:41:25 -08:00
|
|
|
require('blake.other').indent_blankline()
|
2021-12-03 01:05:26 -08:00
|
|
|
end
|
|
|
|
}
|
2022-06-05 11:42:12 -07:00
|
|
|
-- use { -- targets.vim: fix ci' and other things to work right
|
2022-01-21 17:41:25 -08:00
|
|
|
-- 'wellle/targets.vim',
|
|
|
|
-- }
|
2021-09-03 01:18:44 -07:00
|
|
|
|
|
|
|
-- Conveniences
|
2022-06-05 11:42:12 -07:00
|
|
|
use { -- Ghost: Web browser integration
|
2021-11-19 18:18:58 -08:00
|
|
|
'raghur/vim-ghost',
|
2021-11-25 04:32:01 -08:00
|
|
|
opt = true,
|
2021-12-02 03:00:51 -08:00
|
|
|
cmd = {'GhostStart', 'GhostInstall', 'GhostStop', 'GhostSync', 'GhostToggleSync',},
|
2021-11-19 18:18:58 -08:00
|
|
|
}
|
2022-06-05 11:42:12 -07:00
|
|
|
use { -- Undo tree
|
2021-09-03 01:18:44 -07:00
|
|
|
'mbbill/undotree',
|
2021-09-07 01:49:23 -07:00
|
|
|
config = function()
|
|
|
|
vim.cmd 'nnoremap <F5> <cmd>UndotreeToggle<CR>'
|
2021-09-27 20:29:55 -07:00
|
|
|
vim.api.nvim_set_keymap('n', '<F5>', '<cmd>UndotreeToggle<CR>', { noremap = true, silent = true, })
|
2021-09-07 01:49:23 -07:00
|
|
|
end
|
2021-09-03 01:18:44 -07:00
|
|
|
}
|
2022-06-05 11:42:12 -07:00
|
|
|
-- use { -- Dim inactive window
|
2022-01-21 17:41:25 -08:00
|
|
|
-- 'sunjon/shade.nvim',
|
|
|
|
-- config = function()
|
|
|
|
-- require'shade'.setup({
|
|
|
|
-- overlay_opacity = 50,
|
|
|
|
-- opacity_step = 1,
|
|
|
|
-- keys = {
|
|
|
|
-- brightness_up = '<C-Up>',
|
|
|
|
-- brightness_down = '<C-Down>',
|
|
|
|
-- toggle = '<Leader>s',
|
|
|
|
-- }
|
|
|
|
-- })
|
|
|
|
-- end
|
|
|
|
-- }
|
2022-06-05 11:42:12 -07:00
|
|
|
use { -- Quote pairing
|
2021-11-16 23:26:02 -08:00
|
|
|
'windwp/nvim-autopairs',
|
|
|
|
config = function()
|
|
|
|
require('nvim-autopairs').setup()
|
|
|
|
end
|
|
|
|
}
|
2022-06-05 11:42:12 -07:00
|
|
|
use { -- accelerated jk movement
|
2022-01-21 17:41:25 -08:00
|
|
|
'rhysd/accelerated-jk'
|
|
|
|
}
|
2022-06-05 11:42:12 -07:00
|
|
|
use { -- cheat.sh integration
|
2021-09-27 20:29:55 -07:00
|
|
|
'dbeniamine/cheat.sh-vim',
|
2022-02-06 23:08:44 -08:00
|
|
|
}
|
2022-06-05 11:42:12 -07:00
|
|
|
use { -- nvim-align: Align text
|
2022-02-06 23:08:44 -08:00
|
|
|
'RRethy/nvim-align'
|
2021-09-26 14:29:44 -07:00
|
|
|
}
|
2022-06-05 11:42:12 -07:00
|
|
|
use { -- Comments (gb and gc)
|
2022-01-08 05:18:04 -08:00
|
|
|
'numToStr/Comment.nvim',
|
|
|
|
config = function()
|
|
|
|
require('Comment').setup {
|
|
|
|
pre_hook = function(ctx)
|
|
|
|
-- Only calculate commentstring for tsx filetypes
|
|
|
|
if vim.bo.filetype == 'typescriptreact' then
|
|
|
|
local U = require('Comment.utils')
|
|
|
|
-- Detemine whether to use linewise or blockwise commentstring
|
|
|
|
local type = ctx.ctype == U.ctype.line and '__default' or '__multiline'
|
|
|
|
-- Determine the location where to calculate commentstring from
|
|
|
|
local location = nil
|
|
|
|
if ctx.ctype == U.ctype.block then
|
|
|
|
location = require('ts_context_commentstring.utils').get_cursor_location()
|
|
|
|
elseif ctx.cmotion == U.cmotion.v or ctx.cmotion == U.cmotion.V then
|
|
|
|
location = require('ts_context_commentstring.utils').get_visual_start_location()
|
|
|
|
end
|
|
|
|
return require('ts_context_commentstring.internal').calculate_commentstring({
|
|
|
|
key = type,
|
|
|
|
location = location,
|
|
|
|
})
|
|
|
|
end
|
|
|
|
end,
|
|
|
|
}
|
|
|
|
end
|
|
|
|
}
|
2022-06-05 11:42:12 -07:00
|
|
|
use { -- rhysd: committia: better commit editing window
|
2022-01-21 17:41:25 -08:00
|
|
|
'rhysd/committia.vim',
|
|
|
|
}
|
2022-06-05 11:42:12 -07:00
|
|
|
use { -- rhysd: conflict-marker: mark git conflicts - [x ]x
|
2022-01-21 17:41:25 -08:00
|
|
|
'rhysd/conflict-marker.vim',
|
|
|
|
}
|
2022-06-05 11:42:12 -07:00
|
|
|
use { -- lewis6991: spellsitter: Spell checking in treesitter files
|
2022-06-04 22:27:17 -07:00
|
|
|
'lewis6991/spellsitter.nvim',
|
|
|
|
config = function()
|
|
|
|
require('spellsitter').setup()
|
|
|
|
end,
|
|
|
|
}
|
2022-06-05 11:42:12 -07:00
|
|
|
use { -- lewis6991: spaceless: Strip trailing whitespace as you are editing
|
2021-12-02 03:00:51 -08:00
|
|
|
'lewis6991/spaceless.nvim',
|
|
|
|
config = function()
|
|
|
|
require'spaceless'.setup()
|
|
|
|
end,
|
|
|
|
}
|
2022-06-05 11:42:12 -07:00
|
|
|
use { -- lewis6991: foldsigns: signcolumn signs on folded lines
|
2021-12-02 03:00:51 -08:00
|
|
|
'lewis6991/foldsigns.nvim',
|
|
|
|
config = function()
|
|
|
|
require('foldsigns').setup()
|
|
|
|
end,
|
|
|
|
}
|
2022-06-05 11:42:12 -07:00
|
|
|
use { -- lewis6991: cleanfold: folds have never looked better
|
|
|
|
'lewis6991/cleanfold.nvim',
|
|
|
|
config = function()
|
|
|
|
require('cleanfold').setup()
|
|
|
|
end,
|
|
|
|
}
|
|
|
|
use { -- lewis6991: sattelite: small scroll bar
|
|
|
|
'lewis6991/satellite.nvim',
|
|
|
|
config = function()
|
|
|
|
require('satellite').setup()
|
|
|
|
vim.cmd [[
|
|
|
|
nnoremap <C-l> <cmd>nohlsearch\|diffupdate\|SatelliteRefresh<CR>
|
|
|
|
inoremap <C-l> <cmd>nohlsearch\|diffupdate\|SatelliteRefresh<CR>
|
|
|
|
]]
|
|
|
|
end,
|
|
|
|
}
|
|
|
|
use { -- tpope: surround
|
2021-10-27 04:40:14 -07:00
|
|
|
'tpope/vim-surround'
|
2021-09-03 01:18:44 -07:00
|
|
|
}
|
2022-06-05 11:42:12 -07:00
|
|
|
use { -- tpope: git integration
|
2021-09-03 01:18:44 -07:00
|
|
|
'tpope/vim-fugitive'
|
|
|
|
}
|
2022-06-05 11:42:12 -07:00
|
|
|
use { -- tpope: Repeatability for various tpope plugins
|
2021-09-03 01:18:44 -07:00
|
|
|
'tpope/vim-repeat',
|
|
|
|
}
|
2022-06-05 11:42:12 -07:00
|
|
|
use { -- tpope: automatically get info about files and apply it to vim (tabs vs spaces, etc)
|
2022-01-02 17:40:03 -08:00
|
|
|
'tpope/vim-sleuth',
|
|
|
|
}
|
|
|
|
|
2021-09-25 02:19:19 -07:00
|
|
|
|
2021-10-20 10:57:24 -07:00
|
|
|
-- Bootstrap packer if needed {
|
2021-12-02 03:00:51 -08:00
|
|
|
if (packer_bootstrap) then
|
2021-10-20 10:57:24 -07:00
|
|
|
require('packer').sync()
|
|
|
|
end -- }
|
2021-11-25 04:32:01 -08:00
|
|
|
end,
|
|
|
|
config = {
|
2021-12-02 03:00:51 -08:00
|
|
|
display = { open_fn = require('packer.util').float },
|
2021-12-03 01:05:26 -08:00
|
|
|
-- Move to lua dir so impatient.nvim can cache it
|
2021-12-02 03:00:51 -08:00
|
|
|
compile_path = vim.fn.stdpath('config')..'/lua/packer_compiled.lua',
|
2021-11-25 04:32:01 -08:00
|
|
|
}})
|
2021-09-03 01:18:44 -07:00
|
|
|
|
2021-11-25 04:32:01 -08:00
|
|
|
-- vim:fdm=marker:fmr={,}:fdl=1:expandtab:tabstop=3:sw=3
|