aboutsummaryrefslogtreecommitdiff
path: root/src/edit.h
diff options
context:
space:
mode:
authorFelipe Oliveira Carvalho <felipekde@gmail.com>2014-03-22 12:25:01 -0300
committerThiago de Arruda <tpadilha84@gmail.com>2014-03-25 18:48:45 -0300
commit68bc6bce2923f049f84d919aea24600f18139a46 (patch)
tree6b1884e69d3ea0a350993adad0eb1175d769562d /src/edit.h
parentb7f953b9e4b739057fb1a143d06de8eb406f0596 (diff)
downloadrneovim-68bc6bce2923f049f84d919aea24600f18139a46.tar.gz
rneovim-68bc6bce2923f049f84d919aea24600f18139a46.tar.bz2
rneovim-68bc6bce2923f049f84d919aea24600f18139a46.zip
Do not include farsi.c in main.c
- Change CMakeLists.txt to compile farsi.c normally - Add const to global variables in farsi.h and define them in farsi.c (no need to include farsi.h with DO_INIT defined in globals.h) - Include farsi.h where necessary - Include all necessary headers in farsi.c - Move farsi function declarations from main.h to farsi.h
Diffstat (limited to 'src/edit.h')
-rw-r--r--src/edit.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/edit.h b/src/edit.h
index 9d45e54dc7..e52bfa61d6 100644
--- a/src/edit.h
+++ b/src/edit.h
@@ -1,6 +1,8 @@
#ifndef NEOVIM_EDIT_H
#define NEOVIM_EDIT_H
+#include "vim.h"
+
/*
* Array indexes used for cptext argument of ins_compl_add().
*/