New answers tagged indentation
0
votes
Preventing cursor from indenting after a previously indented line
One of the comments suggested looking at 'indentkeys'. This can be viewed with :set indentkeys? in the command line.
The default is 0{,0},0),0],:,0#,!^F,o,O,e, which contains o and O. And, as you ...
1
vote
Accepted
Preventing cursor from indenting after a previously indented line
I ended up disabling treesitter provided indentation:
require("lazy").setup({{
"nvim-treesitter/nvim-treesitter",
build = ":TSUpdate",
config = function ()
...
Top 50 recent answers are included
Related Tags
indentation × 429vimrc × 43
formatting × 27
tab-characters × 21
key-bindings × 19
neovim × 19
filetype-html × 18
vimscript × 17
filetype × 16
cut-copy-paste × 13
whitespace × 13
filetype-python × 11
syntax-highlighting × 9
cursor-movement × 9
filetype-tex × 9
filetype-c++ × 9
filetype-c × 9
visual-mode × 8
wrapping × 8
alignment × 8
folding × 7
comments × 7
filetype-javascript × 7
filetype-php × 6
insert-mode × 5