From 422635b319713c75a8fa9dde97f75f7aa9a94ef7 Mon Sep 17 00:00:00 2001 From: Kagan Date: Sun, 31 Mar 2019 14:53:59 +0300 Subject: [PATCH] Fix for coc and languageclient documents opening in master area --- plugin/dwm.vim | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/plugin/dwm.vim b/plugin/dwm.vim index 550fa8a..16252bf 100644 --- a/plugin/dwm.vim +++ b/plugin/dwm.vim @@ -110,6 +110,11 @@ function! DWM_AutoEnter() return endif + " Skip if COC document or LanguageClient document + if @% == 'coc://document' || @% == '__LanguageClient__' + return + endif + " Move new window to stack top wincmd K