Browse Source

set nvim plugins dir correctly

raylu 7 năm trước cách đây
mục cha
commit
8a0faa9a4e
2 tập tin đã thay đổi với 4 bổ sung0 xóa
  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