comparison install.py @ 492:b4d2eca00197

Ensure ctags config directory before writing config.
author Ludovic Chabant <ludovic@chabant.com>
date Tue, 19 Oct 2021 18:02:50 -0700
parents 5bbc05a69f4c
children 76defcf6bf02
comparison
equal deleted inserted replaced
491:ce7e5b759a39 492:b4d2eca00197
267 267
268 268
269 def install_universal_ctags(): 269 def install_universal_ctags():
270 # On Windows, u-ctags has a bug where it outputs double-backslashes. 270 # On Windows, u-ctags has a bug where it outputs double-backslashes.
271 if is_windows: 271 if is_windows:
272 ensure_dir('~/ctags.d')
272 writelines('~/ctags.d/global.ctags', [ 273 writelines('~/ctags.d/global.ctags', [
273 '--output-format=e-ctags' 274 '--output-format=e-ctags'
274 ]) 275 ])
275 276
276 277