summaryrefslogtreecommitdiff
path: root/.config/nvim/plugins/indent_blankline.vim
diff options
context:
space:
mode:
authorDaniel Weipert <code@drogueronin.de>2023-11-06 15:54:24 +0100
committerDaniel Weipert <code@drogueronin.de>2023-11-06 15:54:24 +0100
commit99ae247eacf35697c607d880675d910fcce90ae3 (patch)
treec54bd8b42a56c7ad94ff138c69fd85005b02f4ae /.config/nvim/plugins/indent_blankline.vim
parentd9f12831186077736fcd9c163a4b31a1fa28690e (diff)
[nvim] refactor plugins to use lazy.nvim
Diffstat (limited to '.config/nvim/plugins/indent_blankline.vim')
-rw-r--r--.config/nvim/plugins/indent_blankline.vim43
1 files changed, 0 insertions, 43 deletions
diff --git a/.config/nvim/plugins/indent_blankline.vim b/.config/nvim/plugins/indent_blankline.vim
deleted file mode 100644
index 2702b4f..0000000
--- a/.config/nvim/plugins/indent_blankline.vim
+++ /dev/null
@@ -1,43 +0,0 @@
-lua <<EOF
-
-local hooks = require('ibl.hooks')
-
-hooks.register(
- hooks.type.WHITESPACE,
- hooks.builtin.hide_first_space_indent_level
-)
-
-hooks.register(
- hooks.type.WHITESPACE,
- hooks.builtin.hide_first_tab_indent_level
-)
-
-hooks.register(
- hooks.type.HIGHLIGHT_SETUP,
- function()
- vim.api.nvim_set_hl(0, 'IndentBlanklineChar', { fg = '#303030', nocombine = true })
- vim.api.nvim_set_hl(0, 'IndentBlanklineContextChar', { fg = '#404040', nocombine = true })
- end
-)
-
-
-require('ibl').setup {
- indent = {
- highlight = {
- 'IndentBlanklineChar',
- },
- },
-
- whitespace = {
- remove_blankline_trail = true,
- },
-
- scope = {
- enabled = false,
-
- highlight = {
- 'IndentBlanklineContextChar',
- },
- },
-}
-EOF