Closed ynhhoJ closed 5 months ago
Have you read :help ibl.config.scope
? I don't believe any of these are scope.
Have you read
:help ibl.config.scope
? I don't believe any of these are scope.
Yeah, i think you are right there. Those are indentation
from treesitter.
Is there way to configure node_types
for languages what are not present in scope_languages.lua
?
This code does not has any effect:
require("ibl").setup {
indent = { char = "▏" },
scope = {
include = {
node_type = {
css = {
"block",
"declaration",
},
},
},
},
}
@lukas-reineke , i updated languages_scope
file.
Can you verify if everything is good, please?
{{ description }}
{{ message }}
I still don't think this is right. CSS variable scoping works very differently to normal languages. This is not easy to display with the indentation.
https://blog.logrocket.com/css-variables-scoping/
I don't think adding CSS and SCSS will work.
Vue and Angular are fine.
I removed SCSS
& CSS
from language_scope.lua
Resolves #844
Before:![image](https://github.com/lukas-reineke/indent-blankline.nvim/assets/22500212/c7770068-f37b-4a87-8e09-083fb6be1834)
After:![image](https://github.com/lukas-reineke/indent-blankline.nvim/assets/22500212/d9accafd-5942-41a7-8d05-798526a73e24)