aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/ex_docmd.h
diff options
context:
space:
mode:
authorMarco Hinz <mh.codebro@gmail.com>2017-01-12 19:26:53 +0100
committerMarco Hinz <mh.codebro@gmail.com>2017-01-13 15:29:59 +0100
commita05779aa1c13149c26678419890653f15fd00127 (patch)
tree096da0cdd1c7d1da07807266841e4cbdb6af6881 /src/nvim/ex_docmd.h
parenta2f8adad4c09b1af24c964695bf0b0eada3ddc42 (diff)
downloadrneovim-a05779aa1c13149c26678419890653f15fd00127.tar.gz
rneovim-a05779aa1c13149c26678419890653f15fd00127.tar.bz2
rneovim-a05779aa1c13149c26678419890653f15fd00127.zip
Move apply_autocmd_dirchanged() to vim_chdir()
Diffstat (limited to 'src/nvim/ex_docmd.h')
-rw-r--r--src/nvim/ex_docmd.h15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/nvim/ex_docmd.h b/src/nvim/ex_docmd.h
index fb6aac223f..4def4cbbae 100644
--- a/src/nvim/ex_docmd.h
+++ b/src/nvim/ex_docmd.h
@@ -19,21 +19,6 @@
#define EXMODE_NORMAL 1
#define EXMODE_VIM 2
-/// The scope of a working-directory command like `:cd`.
-///
-/// Scopes are enumerated from lowest to highest. When adding a scope make sure
-/// to update all functions using scopes as well, such as the implementation of
-/// `getcwd()`. When using scopes as limits (e.g. in loops) don't use the scopes
-/// directly, use `MIN_CD_SCOPE` and `MAX_CD_SCOPE` instead.
-typedef enum {
- kCdScopeInvalid = -1,
- kCdScopeWindow, ///< Affects one window.
- kCdScopeTab, ///< Affects one tab page.
- kCdScopeGlobal, ///< Affects the entire instance of Neovim.
-} CdScope;
-#define MIN_CD_SCOPE kCdScopeWindow
-#define MAX_CD_SCOPE kCdScopeGlobal
-
#ifdef INCLUDE_GENERATED_DECLARATIONS
# include "ex_docmd.h.generated.h"
#endif