Correct vim modeline to 2-space indentation

This commit is contained in:
Andrew Gaul 2020-08-19 21:03:46 +09:00
parent 0e895f60a0
commit 958ad83a4b
25 changed files with 114 additions and 88 deletions

View File

@ -279,9 +279,9 @@ bool AdditionalHeader::Dump() const
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* tab-width: 2
* c-basic-offset: 2
* End:
* vim600: noet sw=4 ts=4 fdm=marker
* vim<600: noet sw=4 ts=4
* vim600: expandtab sw=2 ts=2 fdm=marker
* vim<600: expandtab sw=2 ts=2
*/

View File

@ -62,9 +62,9 @@ class AdditionalHeader
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* tab-width: 2
* c-basic-offset: 2
* End:
* vim600: noet sw=4 ts=4 fdm=marker
* vim<600: noet sw=4 ts=4
* vim600: expandtab sw=2 ts=2 fdm=marker
* vim<600: expandtab sw=2 ts=2
*/

View File

@ -799,9 +799,9 @@ bool convert_header_to_stat(const char* path, headers_t& meta, struct stat* pst,
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* tab-width: 2
* c-basic-offset: 2
* End:
* vim600: noet sw=4 ts=4 fdm=marker
* vim<600: noet sw=4 ts=4
* vim600: expandtab sw=2 ts=2 fdm=marker
* vim<600: expandtab sw=2 ts=2
*/

View File

@ -168,9 +168,9 @@ bool convert_header_to_stat(const char* path, headers_t& meta, struct stat* pst,
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* tab-width: 2
* c-basic-offset: 2
* End:
* vim600: noet sw=4 ts=4 fdm=marker
* vim<600: noet sw=4 ts=4
* vim600: expandtab sw=2 ts=2 fdm=marker
* vim<600: expandtab sw=2 ts=2
*/

View File

@ -204,9 +204,9 @@ extern const char* s3fs_log_nest[S3FS_LOG_NEST_MAX];
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* tab-width: 2
* c-basic-offset: 2
* End:
* vim600: noet sw=4 ts=4 fdm=marker
* vim<600: noet sw=4 ts=4
* vim600: expandtab sw=2 ts=2 fdm=marker
* vim<600: expandtab sw=2 ts=2
*/

View File

@ -88,9 +88,9 @@ string s3fs_sha256sum(int fd, off_t start, ssize_t size)
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* tab-width: 2
* c-basic-offset: 2
* End:
* vim600: noet sw=4 ts=4 fdm=marker
* vim<600: noet sw=4 ts=4
* vim600: expandtab sw=2 ts=2 fdm=marker
* vim<600: expandtab sw=2 ts=2
*/

View File

@ -4923,9 +4923,9 @@ acl_t string_to_acl(const char *acl)
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* tab-width: 2
* c-basic-offset: 2
* End:
* vim600: noet sw=4 ts=4 fdm=marker
* vim<600: noet sw=4 ts=4
* vim600: expandtab sw=2 ts=2 fdm=marker
* vim<600: expandtab sw=2 ts=2
*/

View File

@ -605,9 +605,9 @@ acl_t string_to_acl(const char *acl);
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* tab-width: 2
* c-basic-offset: 2
* End:
* vim600: noet sw=4 ts=4 fdm=marker
* vim<600: noet sw=4 ts=4
* vim600: expandtab sw=2 ts=2 fdm=marker
* vim<600: expandtab sw=2 ts=2
*/

View File

@ -3505,9 +3505,9 @@ bool FdManager::CheckAllCache()
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* tab-width: 2
* c-basic-offset: 2
* End:
* vim600: noet sw=4 ts=4 fdm=marker
* vim<600: noet sw=4 ts=4
* vim600: expandtab sw=2 ts=2 fdm=marker
* vim<600: expandtab sw=2 ts=2
*/

View File

@ -282,9 +282,9 @@ class FdManager
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* tab-width: 2
* c-basic-offset: 2
* End:
* vim600: noet sw=4 ts=4 fdm=marker
* vim<600: noet sw=4 ts=4
* vim600: expandtab sw=2 ts=2 fdm=marker
* vim<600: expandtab sw=2 ts=2
*/

View File

@ -388,9 +388,9 @@ unsigned char* s3fs_sha256hexsum(int fd, off_t start, ssize_t size)
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* tab-width: 2
* c-basic-offset: 2
* End:
* vim600: noet sw=4 ts=4 fdm=marker
* vim<600: noet sw=4 ts=4
* vim600: expandtab sw=2 ts=2 fdm=marker
* vim<600: expandtab sw=2 ts=2
*/

View File

@ -260,9 +260,9 @@ unsigned char* s3fs_sha256hexsum(int fd, off_t start, ssize_t size)
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* tab-width: 2
* c-basic-offset: 2
* End:
* vim600: noet sw=4 ts=4 fdm=marker
* vim<600: noet sw=4 ts=4
* vim600: expandtab sw=2 ts=2 fdm=marker
* vim<600: expandtab sw=2 ts=2
*/

View File

@ -360,9 +360,9 @@ unsigned char* s3fs_sha256hexsum(int fd, off_t start, ssize_t size)
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* tab-width: 2
* c-basic-offset: 2
* End:
* vim600: noet sw=4 ts=4 fdm=marker
* vim<600: noet sw=4 ts=4
* vim600: expandtab sw=2 ts=2 fdm=marker
* vim<600: expandtab sw=2 ts=2
*/

View File

@ -73,3 +73,11 @@ class Semaphore
#endif
#endif // S3FS_SEMAPHORE_H_
/*
* Local variables:
* tab-width: 2
* c-basic-offset: 2
* End:
* vim600: expandtab sw=2 ts=2 fdm=marker
* vim<600: expandtab sw=2 ts=2
*/

View File

@ -5621,9 +5621,9 @@ int main(int argc, char* argv[])
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* tab-width: 2
* c-basic-offset: 2
* End:
* vim600: noet sw=4 ts=4 fdm=marker
* vim<600: noet sw=4 ts=4
* vim600: expandtab sw=2 ts=2 fdm=marker
* vim<600: expandtab sw=2 ts=2
*/

View File

@ -85,9 +85,9 @@ do{ \
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* tab-width: 2
* c-basic-offset: 2
* End:
* vim600: noet sw=4 ts=4 fdm=marker
* vim<600: noet sw=4 ts=4
* vim600: expandtab sw=2 ts=2 fdm=marker
* vim<600: expandtab sw=2 ts=2
*/

View File

@ -53,9 +53,9 @@ unsigned char* s3fs_sha256hexsum(int fd, off_t start, ssize_t size);
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* tab-width: 2
* c-basic-offset: 2
* End:
* vim600: noet sw=4 ts=4 fdm=marker
* vim<600: noet sw=4 ts=4
* vim600: expandtab sw=2 ts=2 fdm=marker
* vim<600: expandtab sw=2 ts=2
*/

View File

@ -1585,9 +1585,9 @@ void show_version()
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* tab-width: 2
* c-basic-offset: 2
* End:
* vim600: noet sw=4 ts=4 fdm=marker
* vim<600: noet sw=4 ts=4
* vim600: expandtab sw=2 ts=2 fdm=marker
* vim<600: expandtab sw=2 ts=2
*/

View File

@ -153,9 +153,9 @@ void show_version(void);
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* tab-width: 2
* c-basic-offset: 2
* End:
* vim600: noet sw=4 ts=4 fdm=marker
* vim<600: noet sw=4 ts=4
* vim600: expandtab sw=2 ts=2 fdm=marker
* vim<600: expandtab sw=2 ts=2
*/

View File

@ -278,9 +278,9 @@ bool S3fsSignals::WakeupUsr1Thread()
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* tab-width: 2
* c-basic-offset: 2
* End:
* vim600: noet sw=4 ts=4 fdm=marker
* vim<600: noet sw=4 ts=4
* vim600: expandtab sw=2 ts=2 fdm=marker
* vim<600: expandtab sw=2 ts=2
*/

View File

@ -65,9 +65,9 @@ class S3fsSignals
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* tab-width: 2
* c-basic-offset: 2
* End:
* vim600: noet sw=4 ts=4 fdm=marker
* vim<600: noet sw=4 ts=4
* vim600: expandtab sw=2 ts=2 fdm=marker
* vim<600: expandtab sw=2 ts=2
*/

View File

@ -591,9 +591,9 @@ string s3fs_wtf8_decode(const string &s)
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* tab-width: 2
* c-basic-offset: 2
* End:
* vim600: noet sw=4 ts=4 fdm=marker
* vim<600: noet sw=4 ts=4
* vim600: expandtab sw=2 ts=2 fdm=marker
* vim<600: expandtab sw=2 ts=2
*/

View File

@ -69,9 +69,9 @@ std::string s3fs_wtf8_decode(const std::string &s);
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* tab-width: 2
* c-basic-offset: 2
* End:
* vim600: noet sw=4 ts=4 fdm=marker
* vim<600: noet sw=4 ts=4
* vim600: expandtab sw=2 ts=2 fdm=marker
* vim<600: expandtab sw=2 ts=2
*/

View File

@ -134,3 +134,12 @@ int main(int argc, char *argv[])
test_wtf8_encoding();
return 0;
}
/*
* Local variables:
* tab-width: 2
* c-basic-offset: 2
* End:
* vim600: expandtab sw=2 ts=2 fdm=marker
* vim<600: expandtab sw=2 ts=2
*/

View File

@ -87,3 +87,12 @@ void assert_strequals(const char *x, const char *y, const char *file, int line)
#define ASSERT_STREQUALS(x, y) \
assert_strequals((x), (y), __FILE__, __LINE__)
/*
* Local variables:
* tab-width: 2
* c-basic-offset: 2
* End:
* vim600: expandtab sw=2 ts=2 fdm=marker
* vim<600: expandtab sw=2 ts=2
*/