Closed dinhmai74 closed 3 years ago
I am usingindent-blankline.nvim. And disable it when in the dashboard like this.
require("indent_blankline").setup { space_char_blankline = " ", show_current_context = true, context_patterns = { "def", "class", "return", "function", "method", "^if", "^while", "jsx_element", "^for" -- ... and you can add more }, buftype_exclude = {"terminal"}, filetype_exclude = {"dashboard"} } Did I do anything wrong?
require("indent_blankline").setup { space_char_blankline = " ", show_current_context = true, context_patterns = { "def", "class", "return", "function", "method", "^if", "^while", "jsx_element", "^for" -- ... and you can add more }, buftype_exclude = {"terminal"}, filetype_exclude = {"dashboard"} }
The filetype of an alpha buffer is alpha not dashboard. So changing your filetype_exclude to {"alpha"} should work.
alpha
dashboard
filetype_exclude
{"alpha"}
Cool, it works. Thank a lot @l-kershaw
I am usingindent-blankline.nvim. And disable it when in the dashboard like this.
require("indent_blankline").setup { space_char_blankline = " ", show_current_context = true, context_patterns = { "def", "class", "return", "function", "method", "^if", "^while", "jsx_element", "^for" -- ... and you can add more }, buftype_exclude = {"terminal"}, filetype_exclude = {"dashboard"} }
Did I do anything wrong?