aboutsummaryrefslogtreecommitdiff
path: root/src/indent.h
diff options
context:
space:
mode:
authorGaelan Steele <gbs@canishe.com>2014-03-02 12:23:10 -0800
committerThiago de Arruda <tpadilha84@gmail.com>2014-03-03 10:12:10 -0300
commitbbf6442433b8fc350f461da1e7348e2e21a5d11a (patch)
tree1a413f6ecca057b8444ec4b86eeaa36b291a83c0 /src/indent.h
parenta21c8589efeb008679441ea8d153386ae95c1bec (diff)
downloadrneovim-bbf6442433b8fc350f461da1e7348e2e21a5d11a.tar.gz
rneovim-bbf6442433b8fc350f461da1e7348e2e21a5d11a.tar.bz2
rneovim-bbf6442433b8fc350f461da1e7348e2e21a5d11a.zip
Move some of misc1.c to indent.c.
My little contribution to #209.
Diffstat (limited to 'src/indent.h')
-rw-r--r--src/indent.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/indent.h b/src/indent.h
new file mode 100644
index 0000000000..f256a95e31
--- /dev/null
+++ b/src/indent.h
@@ -0,0 +1,11 @@
+#ifndef NEOVIM_INDENT_H
+#define NEOVIM_INDENT_H
+#include "vim.h"
+int get_indent(void);
+int get_indent_lnum(linenr_T lnum);
+int get_indent_buf(buf_T *buf, linenr_T lnum);
+int get_indent_str(char_u *ptr, int ts);
+int set_indent(int size, int flags);
+int copy_indent(int size, char_u *src);
+int get_number_indent(linenr_T lnum);
+#endif