Here's the bare-bones init.vim I've tested it with:
set nocompatible
filetype indent plugin on
syntax on
call plug#begin('~/.vim/plugged')
Plug 'w0rp/ale'
Plug 'leafgarland/typescript-vim'
Plug 'tpope/vim-sleuth'
call plug#end()
let g:ale_linters = {
\ 'typescript': ['tsserver'],
\}
ALEInfo output:
Current Filetype: typescript
Available Linters: ['tslint', 'tsserver', 'typecheck']
Enabled Linters: ['tsserver']
Linter Variables:
let g:ale_typescript_tsserver_config_path = ''
let g:ale_typescript_tsserver_executable = 'tsserver'
let g:ale_typescript_tsserver_use_global = 0
Global Variables:
let g:ale_echo_cursor = 1
let g:ale_echo_msg_error_str = 'Error'
let g:ale_echo_msg_format = '%s'
let g:ale_echo_msg_warning_str = 'Warning'
let g:ale_enabled = 1
let g:ale_keep_list_window_open = 0
let g:ale_lint_delay = 200
let g:ale_lint_on_enter = 1
let g:ale_lint_on_save = 1
let g:ale_lint_on_text_changed = 'always'
let g:ale_linter_aliases = {}
let g:ale_linters = {'typescript': ['tsserver']}
let g:ale_open_list = 0
let g:ale_set_highlights = 1
let g:ale_set_loclist = 1
let g:ale_set_quickfix = 0
let g:ale_set_signs = 1
let g:ale_sign_column_always = 0
let g:ale_sign_error = '>>'
let g:ale_sign_offset = 1000000
let g:ale_sign_warning = '--'
let g:ale_statusline_format = ['%d error(s)', '%d warning(s)', 'OK']
let g:ale_warn_about_trailing_whitespace = 1
Command History:
It's not running anything; at all.
I've also tried the same init.vim as a vimrc for regular vim 8. It worked, so I presume it's a neovim-specific issue.
Keep in mind I've tested both vim 8 and neovim on the same project with typescript installed locally, though, I haven't had luck with use_global, too.
It won't appear in the command history at all, but it might be running.
Now the command should appear in the history, so we can look at that. If the server program starts, it should generally keep running.
I think this might not work in NeoVim yet, as I haven't implemented raw message handling there yet.
Ah, that explains. Thanks for quick response.
Try again. I made it join the lines back together again for NeoVim output.
That did the job, now it works. Thanks again for making an awesome plugin.
Most helpful comment
That did the job, now it works. Thanks again for making an awesome plugin.