indentwise added
This commit is contained in:
parent
3301bdfbbf
commit
dd71cfa177
BIN
lazygit.tar.gz
BIN
lazygit.tar.gz
Binary file not shown.
@ -3,3 +3,4 @@
|
||||
|
||||
-- alias for reloading all buffers
|
||||
--vim.cmd [[ command Bclr bufdo! e!]]
|
||||
vim.cmd [[ command Bufdel silent! execute "%bd" ]]
|
||||
|
||||
@ -1 +1,24 @@
|
||||
require("ibl").setup()
|
||||
local highlight = {
|
||||
"RainbowRed",
|
||||
"RainbowYellow",
|
||||
"RainbowBlue",
|
||||
"RainbowOrange",
|
||||
"RainbowGreen",
|
||||
"RainbowViolet",
|
||||
"RainbowCyan",
|
||||
}
|
||||
|
||||
local hooks = require "ibl.hooks"
|
||||
-- create the highlight groups in the highlight setup hook, so they are reset
|
||||
-- every time the colorscheme changes
|
||||
hooks.register(hooks.type.HIGHLIGHT_SETUP, function()
|
||||
vim.api.nvim_set_hl(0, "RainbowRed", { fg = "#E06C75" })
|
||||
vim.api.nvim_set_hl(0, "RainbowYellow", { fg = "#E5C07B" })
|
||||
vim.api.nvim_set_hl(0, "RainbowBlue", { fg = "#61AFEF" })
|
||||
vim.api.nvim_set_hl(0, "RainbowOrange", { fg = "#D19A66" })
|
||||
vim.api.nvim_set_hl(0, "RainbowGreen", { fg = "#98C379" })
|
||||
vim.api.nvim_set_hl(0, "RainbowViolet", { fg = "#C678DD" })
|
||||
vim.api.nvim_set_hl(0, "RainbowCyan", { fg = "#56B6C2" })
|
||||
end)
|
||||
|
||||
require("ibl").setup { indent = { highlight = highlight } }
|
||||
|
||||
@ -13,4 +13,5 @@ require("core.plugin_config.rainbow-delimiters")
|
||||
require("core.plugin_config.marks")
|
||||
require("core.plugin_config.lsp_config")
|
||||
require("core.plugin_config.indent-blankline")
|
||||
|
||||
require("core.plugin_config.indent-blankline")
|
||||
require("core.plugin_config.vim-indentwise")
|
||||
|
||||
@ -4,5 +4,7 @@ local builtin = require('telescope.builtin')
|
||||
vim.keymap.set('n', '<leader>ff', builtin.find_files, {})
|
||||
vim.keymap.set('n', '<leader>fg', builtin.live_grep, {})
|
||||
vim.keymap.set('n', '<leader>fb', builtin.buffers, {})
|
||||
vim.keymap.set('n', '<leader>fc', builtin.current_buffer_fuzzy_find, {})
|
||||
vim.keymap.set('n', '<leader>fh', builtin.help_tags, {})
|
||||
vim.keymap.set('n', '<leader>fm', builtin.marks, {})
|
||||
vim.keymap.set('n', '<leader>fr', builtin.resume, {})
|
||||
|
||||
0
lua/core/plugin_config/vim-indentwise.lua
Normal file
0
lua/core/plugin_config/vim-indentwise.lua
Normal file
@ -43,6 +43,7 @@ return require('packer').startup(function(use)
|
||||
use 'HiPhish/rainbow-delimiters.nvim'
|
||||
use 'chentoast/marks.nvim'
|
||||
use "lukas-reineke/indent-blankline.nvim"
|
||||
use "jeetsukumaran/vim-indentwise"
|
||||
|
||||
-- Automatically set up your configuration after cloning packer.nvim
|
||||
-- Put this at the end after all plugins
|
||||
|
||||
BIN
nvim.appimage
Executable file
BIN
nvim.appimage
Executable file
Binary file not shown.
Loading…
Reference in New Issue
Block a user