aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/main.c
diff options
context:
space:
mode:
authorBjörn Linse <bjorn.linse@gmail.com>2021-07-29 23:31:57 +0200
committerGitHub <noreply@github.com>2021-07-29 23:31:57 +0200
commitd628e4250fc5f7dfc3fe1bd537ce38b6171c138c (patch)
tree270f9aba2590b2434a3008893f7dbb2c51a31c96 /src/nvim/main.c
parentb73e733d529266ef350f71fa896d16e44cc83f78 (diff)
parentcab90f2ef1f3f60786a1f223fb7c2582aac1773a (diff)
downloadrneovim-d628e4250fc5f7dfc3fe1bd537ce38b6171c138c.tar.gz
rneovim-d628e4250fc5f7dfc3fe1bd537ce38b6171c138c.tar.bz2
rneovim-d628e4250fc5f7dfc3fe1bd537ce38b6171c138c.zip
Merge pull request #15207 from gpanders/bye-syncolor
fix(highlight): remove syncolor.vim
Diffstat (limited to 'src/nvim/main.c')
-rw-r--r--src/nvim/main.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/nvim/main.c b/src/nvim/main.c
index 8b8be9cc39..7a2b9746e9 100644
--- a/src/nvim/main.c
+++ b/src/nvim/main.c
@@ -372,11 +372,6 @@ int main(int argc, char **argv)
// If using the runtime (-u is not NONE), enable syntax & filetype plugins.
if (params.use_vimrc == NULL || !strequal(params.use_vimrc, "NONE")) {
- // Source syncolor.vim to set up default UI highlights if the user didn't
- // already enable a colorscheme
- if (!get_var_value("g:colors_name")) {
- source_runtime((char_u *)"syntax/syncolor.vim", DIP_ALL);
- }
// Does ":filetype plugin indent on".
filetype_maybe_enable();
// Sources syntax/syntax.vim, which calls `:filetype on`.