371 | function! MyProjectRootDecide()
372 | if exists('t:my_project_root_dir')
373 | unlet t:my_project_root_dir
374 | endif
375 |
376 | let t:my_project_root_dir = MyProjectRootDetect(locon#get('get_buffer_path')(), {})
377 | execute printf('tchdir %s', fnameescape(t:my_project_root_dir))
378 | endfunction
549 | " --------------------
550 | " auto-pairs
551 | " --------------------
552 | if dein#tap('ale')
553 | let g:ale_linters = {}
554 | if exists('g:lsc_server_commands')
555 | for s:ft in keys(g:lsc_server_commands)
556 | let g:ale_linters[s:ft] = []
557 | endfor
558 | endif
559 | endif