autozimu / LanguageClient-neovim

Language Server Protocol (LSP) support for vim and neovim.
MIT License
3.55k stars 273 forks source link

language client and ale -> wrong highlights #223

Closed languitar closed 6 years ago

languitar commented 6 years ago

When using https://github.com/w0rp/ale in combination with this project, highlights (probably from this project, because they take more time to appear), are off and do not match what they should address.

@w0rp maybe you can have a look at this as well?

set nocompatible
set hidden

set runtimepath+=~/.local/share/nvim/bundle/deoplete.nvim
set runtimepath+=~/.local/share/nvim/bundle/ale
set runtimepath+=~/.local/share/nvim/bundle/LanguageClient-neovim

let g:deoplete#enable_at_startup = 1

let g:LanguageClient_serverCommands = {
    \ 'python': ['pyls'],
    \ }
let g:LanguageClient_autoStart = 1

let g:ale_lint_on_text_changed = 'never'
let g:ale_linters = {
    \ 'python': ['flake8'],
    \ }

LanguageClient.log LanguageServer.log

autozimu commented 6 years ago

Should fixed by https://github.com/autozimu/LanguageClient-neovim/commit/e4206af73aa440dccbf935e2d811fdba9789b039