Sublime text seems to want many lines of text before it excepts that the current file has a different indentation than what is set in the settings. Like, i have to write 10+ lines of code, continuously opening and re-opening the file to see if sublime text has finally decided to understand what indentation i am using.
this vim plugin works 100% of the time and works on just a few lines of code: https://github.com/tpope/vim-sleuth/blob/master/plugin/sleuth.vim
so this is a solved problem. Does anyone know of a plugin that could fix this? So far for me, googling has only yielded explanations of how to enable sublime text’s subpar detection.
update this package fixed it: https://github.com/jfcherng/Sublime-AutoSetIndentation