vim-sleuth icon indicating copy to clipboard operation
vim-sleuth copied to clipboard

sleuth.vim: Heuristically set buffer options

Results 5 vim-sleuth issues
Sort by recently updated
recently updated
newest added
trafficstars

vim-sleuth fails to detect indent settings in a file that does not have a filetype (eg, a file with a custom extension). **Expected Behavior**: Detect indent settings based on the...

I have a Python file where the Python is indented with 4 spaces and an inner multiline literal for sql is indented using 2 spaces: ```py def foobar(): """Blah blah...

One common case of mixed indentation is when a file is written with mostly spaces and then unwittingly a few tabs with tabstop = shiftwidth < 8. To the author...

I just found that vim-sleuth will set shiftwidth to 36 with the below example: ```cpp #include #include template std::vector get_cartesian_tree(std::span sequence, auto &&cmp = Cmp{}) { std::vector parents(sequence.size()); int a;...