1
0
Эх сурвалжийг харах

set nvim plugins dir correctly

raylu 7 жил өмнө
parent
commit
8a0faa9a4e
2 өөрчлөгдсөн 4 нэмэгдсэн , 0 устгасан
  1. 1 0
      config/nvim
  2. 3 0
      setup.py

+ 1 - 0
config/nvim

@@ -0,0 +1 @@
+../../.vim

+ 3 - 0
setup.py

@@ -52,6 +52,9 @@ for f in os.listdir('.'):
 			for f in filenames:
 				link_file(prefix + 'dotfiles/' + dirpath + '/' + f, '../.' + dirpath + '/' + f)
 
+# config/nvim is skipped because we ignore dirs from os.walk
+link_file('../dotfiles/vim', '../.config/nvim')
+
 vim_swap = '../.vim_swap'
 if os.path.exists(vim_swap):
 	print 'No need to create', vim_swap