This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if executable('typescript-language-server') | |
augroup LspTypeScript | |
au! | |
autocmd User lsp_setup call lsp#register_server({ | |
\ 'name': 'typescript-language-server', | |
\ 'cmd': {server_info->[&shell, &shellcmdflag, 'typescript-language-server', '--stdio']}, | |
\ 'root_uri':{server_info->lsp#utils#path_to_uri(lsp#utils#find_nearest_parent_file_directory(lsp#utils#get_buffer_path(), 'tsconfig.json'))}, | |
\ 'whitelist': ['typescript'], | |
\ }) | |
autocmd FileType typescript setlocal omnifunc=lsp#complete |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; SandS for AutoHotkey | |
;; ===初期設定========================================================== | |
;; 多重起動の制御をforceに指定 | |
#SingleInstance force | |
;; 環境変数を無視する | |
#NoEnv |