Move some of misc1.c to indent.c.

My little contribution to #209.
This commit is contained in:
Gaelan Steele
2014-03-02 12:23:10 -08:00
committed by Thiago de Arruda
parent a21c8589ef
commit bbf6442433
10 changed files with 419 additions and 401 deletions

11
src/indent.h Normal file
View File

@@ -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