瀏覽代碼

updated paths.vim path

Chris 5 年之前
父節點
當前提交
f4c1e8dc3b
共有 4 個文件被更改,包括 6 次插入3 次删除
  1. 1 1
      .gitignore
  2. 1 0
      coc-settings.json
  3. 0 1
      general/paths.vim
  4. 4 1
      init.vim

+ 1 - 1
.gitignore

@@ -4,7 +4,7 @@ tags*
 pythonpath.vim
 nodepath.vim
 autoload/plugged/*
+paths.vim
 session
-general/paths.vim
 wiki/
 

+ 1 - 0
coc-settings.json

@@ -38,6 +38,7 @@
   // python config
   "python.linting.enabled": true,
   "python.linting.pylintEnabled": true,
+  // "python.linting.pylintPath": "~/.local/bin/pylint",
 
   // snippets
   "snippets.ultisnips.directories": ["UltiSnips", "~/.config/nvim/snips"],

+ 0 - 1
general/paths.vim

@@ -1 +0,0 @@
-

+ 4 - 1
init.vim

@@ -11,7 +11,6 @@ source $HOME/.config/nvim/general/settings.vim
 source $HOME/.config/nvim/general/functions.vim
 source $HOME/.config/nvim/keys/mappings.vim
 source $HOME/.config/nvim/keys/which-key.vim
-source $HOME/.config/nvim/general/paths.vim
 
 " Source depending on if VSCode is our client
 if exists('g:vscode')
@@ -44,6 +43,10 @@ endif
 
 " Experimental
 
+if !empty(glob("./paths.vim"))
+  source $HOME/.config/nvim/paths.vim
+endif
+
 " Codi
 let g:codi#rightalign=0