>> indent (Maybe offtopic but i am new)
History: I switched from Vim in InteliJ to Vim in VSCode to Nvim in two weeks. Reason to do it: I really need a/any proper surround. (So that i can copy a inline SQL into the clipboard so i can run it into a (Oracle) SQL Developer).
Tl;DR: I am very new to NVIM. After 5 Hours i still can not figure out the indent on init.lua (If i use Tab, i can get highlighted, but when i save :w than it transforms the whitespace to something similar to >> (most of the time) but single symbol). (This does not happen on .py files so i am confused).
=> Use tab in init.lua and then use :w to save. (Now it uses >> to indent).
I basically want to show tab instead of >> and indent lines to work.
» is just a character to denote there is a tab, but it's not part of the code. You can change that symbol if you don't like it changing this line in the config:
line 143: vim.opt.listchars = { tab = '» ', trail = '·', nbsp = '␣' }
Or just turn it off setting vim.opt.list to false
So the tab is there, nothing is changing it, it's just rendered that way in your nvim. Indentation works. If you want to change the tab to look "longer" (as is, more spaces), you need to change your conform config. But a tab is tab in every system, they are just "shown" different depending on each config.
Do you have a .stylua.toml file in .config/nvim/? Without it, my lua file was being formatting to use tabs instead of spaces. Ensuring I had the style config file locally fixed that for me.
From the issue I infer they wanted a tab, as that's what's being pressed.