Skip to content
This repository was archived by the owner on Jan 6, 2023. It is now read-only.

Commit e6cbc69

Browse files
josuedhgphmccarty
authored andcommitted
Add metadata to follow the same tab setup on emacs or vim
Signed-off-by: Josue David Hernandez Gutierrez <josue.d.hernandez.gutierrez@intel.com>
1 parent b1c8be2 commit e6cbc69

3 files changed

Lines changed: 39 additions & 0 deletions

File tree

src/client.c

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,3 +121,16 @@ void try_to_get(const char *path, int pid, time_t timestamp)
121121

122122
close(sockfd);
123123
}
124+
125+
/*
126+
* Editor modelines - https://www.wireshark.org/tools/modelines.html
127+
*
128+
* Local variables:
129+
* c-basic-offset: 8
130+
* tab-width: 8
131+
* indent-tabs-mode: nil
132+
* End:
133+
*
134+
* vi: set shiftwidth=8 tabstop=8 expandtab:
135+
* :indentSize=8:tabSize=8:noTabs=true:
136+
*/

src/fuse.c

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -681,3 +681,16 @@ int main(__nc_unused__ int argc, __nc_unused__ char *argv[])
681681

682682
return fuse_main(9, fake_argv, &xmp_oper, NULL);
683683
}
684+
685+
/*
686+
* Editor modelines - https://www.wireshark.org/tools/modelines.html
687+
*
688+
* Local variables:
689+
* c-basic-offset: 8
690+
* tab-width: 8
691+
* indent-tabs-mode: nil
692+
* End:
693+
*
694+
* vi: set shiftwidth=8 tabstop=8 expandtab:
695+
* :indentSize=8:tabSize=8:noTabs=true:
696+
*/

src/server.c

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -552,3 +552,16 @@ int main(__nc_unused__ int argc, __nc_unused__ char **argv)
552552
nc_hashmap_free(hash);
553553
}
554554
}
555+
556+
/*
557+
* Editor modelines - https://www.wireshark.org/tools/modelines.html
558+
*
559+
* Local variables:
560+
* c-basic-offset: 8
561+
* tab-width: 8
562+
* indent-tabs-mode: nil
563+
* End:
564+
*
565+
* vi: set shiftwidth=8 tabstop=8 expandtab:
566+
* :indentSize=8:tabSize=8:noTabs=true:
567+
*/

0 commit comments

Comments
 (0)