plugins: Add message for creating .vimspector.json
[vimconf.git] / plugins-noroot-nolowendbox.vim
index f802c9ced50c71524fe22fae4560cdfeb52c711d..38fbfc4077c506c8b8e98cf8d212136a514be125 100644 (file)
@@ -48,14 +48,13 @@ Plug 'sjl/splice.vim', {'on': 'SpliceInit'}
 " Costs a second startup time
 Plug 'dbeniamine/cheat.sh-vim', {'on': 'Cheat'}
 
+Plug 'sheerun/vim-polyglot'
+
 if has('nvim-0.5')
     Plug 'nvim-treesitter/nvim-treesitter', {'do': ':TSUpdate'}
     Plug 'nvim-treesitter/nvim-treesitter-refactor', {'do': ':TSUpdate'}
-else
-    Plug 'sheerun/vim-polyglot'
 endif
 
-
 function PluginsNorootNolowendboxConfig()
     let g:neomake_c_enabled_makers = ['clangtidy', 'clangcheck']
     let g:neomake_cpp_enabled_makers = ['clangtidy', 'clangcheck']
@@ -247,6 +246,7 @@ EOF
 
     function VimspectorRestartOrCreateConfig()
         if !filereadable('.vimspector.json')
+            echo "Missing .vimspector.json, created one."
             execute 'tabe .vimspector.json'
         else
             call vimspector#Restart()