4a5da51152
Change default tab width to 4
2017-04-10 03:13:26 +02:00
Tim Pope
b6347df737
Try forcing filetype indent after sleuth
2017-04-09 17:23:43 -04:00
Tim Pope
e3e5adfeaa
Add indicator for flagship.vim
2017-04-09 17:23:43 -04:00
Gaute Hope
2826bc17ef
Add option to disable automatic detection ( #36 )
...
Auto detection can be disabled by setting:
let g:sleuth_automatic = 0
2017-03-29 03:41:18 -04:00
Tim Pope
5cc6548b2e
Provide :Sleuth
...
References https://github.com/tpope/vim-sleuth/issues/36
2017-03-28 15:56:18 -04:00
Daniel Hahler
62c4f26187
Minor performance optimization in s:guess ( #33 )
2016-11-06 20:36:07 -05:00
Ohad Lutzky
a17462708a
Skip go-style backtick-quoted strings
...
Fixes #28
2015-06-07 12:54:09 -04:00
Andrea Cedraro
1db371f776
Do not guess settings if nomodifiable
2015-03-15 14:49:25 -04:00
Tim Pope
b867ffac83
Revert "Use shiftwidth 0 instead of copying tabstop"
...
This reverts commit b6b4c3b237678f1214ea2eca0e3e50eaafb30e3a.
Closes #25 .
2015-02-23 12:25:02 -05:00
Andrea Cedraro
00348fd88b
Delete duplicate code
2015-02-20 15:58:17 -05:00
Johannes Martinsson
b6b4c3b237
Use shiftwidth 0 instead of copying tabstop
...
Instead of copying the current tabstop value to shiftwidth when hard
tabs are used consistently, set shiftwidth to 0. This makes it possible
to change the tabstop value manually (e.g. for a file that is highly
indented) and shiftwidth will follow automatically.
2015-01-10 13:03:28 -05:00
Tim Pope
6b0c9d61e2
Off by one
2014-03-19 11:45:10 -04:00
Tim Pope
612e4296c1
Fix syntax error
2014-03-19 11:39:54 -04:00
Tim Pope
790963321d
Tweak limits for checking other files
...
References #8 .
2014-03-19 01:09:56 -04:00
Tim Pope
6779f5ee5a
Skip Python style triple quoted strings
...
Closes #6 .
2014-02-20 23:34:02 -05:00
Tim Pope
9d96ce0dc4
Cap number of checked files
...
Closes #8 .
2014-02-20 23:16:55 -05:00
Tim Pope
cb15ce1414
Skip unreadable files
...
Closes #7 .
2014-02-20 22:30:02 -05:00
Tim Pope
039e2cd134
sleuth.vim 1.1
...
* Support custom tabstop in pure tabs files.
* Fix performance issue with globbing for other files.
* Skip over POD comments.
2013-01-21 18:12:05 -05:00
Tim Pope
a32cdaea9d
Speed up globbing
...
Globbing with {} is really, really, slow, apparently.
2013-01-08 23:57:05 -05:00
Tim Pope
fc28861b51
Skip empty lines early on
...
Closes #3 .
2013-01-07 18:12:10 -05:00
Tim Pope
0f918d94f6
Skip POD comments
2013-01-03 19:43:08 -05:00
Tim Pope
4bae3d4618
Fix incorrect setting of expandtab
2013-01-03 13:13:30 -05:00
Tim Pope
dd0f3349a2
Support default tabstop
...
Closes #1 .
2013-01-02 23:15:03 -05:00
Tim Pope
e5b9f940e9
Remove debugging info
2012-12-30 19:16:24 -05:00
Tim Pope
f3d218c2da
Add references to script on vim.org
2012-12-30 19:15:54 -05:00
Tim Pope
723c611178
sleuth.vim 1.0
2012-12-30 18:16:58 -05:00