Comments (5)
The file probably gets formatted when you save, and the indentation changes from spaces to tabs.
Take a look at :help ibl.config.indent.tab_char
to configure how tabs get displayed.
from indent-blankline.nvim.
This is happening to me on file open, not save, so it's not a format issue. But it only seems to happen for some languages. LUA seems fine, Go does not for example.
from indent-blankline.nvim.
It doesn't happen after formatting for you because your file is already indented with tabs.
This is the correct behavior, please read :help ibl.config.indent.tab_char
from indent-blankline.nvim.
So what you're saying is the intended behavior is to only show solid lines for space indented files? I've read the 2 help lines mentioned, it doesn't help explain the intended behaviour.
from indent-blankline.nvim.
How spaces are displayed is configured with ibl.config.indent.char
.
How tabs are displayed is configured with ibl.config.indent.tab_char
.
If you do not set ibl.config.indent.tab_char
in your config, it defaults to :help lcs-tab
if :help 'list'
is set, otherwise it uses ibl.config.indent.char
.
You have 'list'
set, and tab in listchars set to >>
. So that is what ibl is using.
This is explained in the help file.
from indent-blankline.nvim.
Related Issues (20)
- Unable to disable higlights HOT 5
- Indent char got disappeared when formatting using mason formatter. HOT 3
- Warning: vim.tbl_flatten is deprecated, use vim.iter(…):flatten():totable() instead. HOT 1
- Broken after the update to v3.6.0 HOT 8
- Error after updating using Lazy HOT 2
- An error appears when opening a file HOT 1
- [lazy.nvim]: Failed to run config for indent-blankline.nvim because field 'iter' is a nill value HOT 3
- Failed to load after updates HOT 1
- indent-blankline "failed to run config" after update lazyvim HOT 3
- Fail to run config when start up HOT 6
- Use of `vim.iter` breaks support for pre v0.10 nvim releases. HOT 3
- Doesn't work on previous versions of neovim 0.10.0 HOT 4
- Failed to run `config` for indent-blankline.nvim - attempt to call field 'iter' (a nil value) HOT 1
- config not loaded do not know why HOT 1
- Failed config for indent-blankblne HOT 3
- E5113: attempt to call field 'iter" (a nil value) HOT 2
- Indent guidelines losing color HOT 3
- Incorrect scope in luau HOT 1
- In nvim 0.10 dev attempt to call method 'flatten' HOT 4
- lazy.nvim plugin import HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from indent-blankline.nvim.