aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/vim.h
diff options
context:
space:
mode:
authorMichael Reed <m.reed@mykolab.com>2016-01-15 03:03:18 -0500
committerMichael Reed <m.reed@mykolab.com>2016-01-15 03:03:18 -0500
commitf433f569a319123e09a6536b1a58d1198b2e3255 (patch)
tree4c61a47d54e7ad0d8cb22ec784bc0500c02117b2 /src/nvim/vim.h
parentd4fb5920d342de43548e50bd3a968e66d0eea71e (diff)
downloadrneovim-f433f569a319123e09a6536b1a58d1198b2e3255.tar.gz
rneovim-f433f569a319123e09a6536b1a58d1198b2e3255.tar.bz2
rneovim-f433f569a319123e09a6536b1a58d1198b2e3255.zip
Revert ROOT_UID removal
It helps clarify intent for those unaware of root's UID. see https://github.com/neovim/neovim/pull/4015#discussion_r49822371
Diffstat (limited to 'src/nvim/vim.h')
-rw-r--r--src/nvim/vim.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/nvim/vim.h b/src/nvim/vim.h
index 98ef5eb4fd..71d7556880 100644
--- a/src/nvim/vim.h
+++ b/src/nvim/vim.h
@@ -37,7 +37,9 @@ Error: configure did not run properly.Check auto/config.log.
#define NUMBUFLEN 30 /* length of a buffer to store a number in ASCII */
-# define MAX_TYPENR 65535
+#define MAX_TYPENR 65535
+
+#define ROOT_UID 0
#include "nvim/keymap.h"
#include "nvim/macros.h"