LSP option and better LSP status

This commit is contained in:
Zachary Yedidia
2020-08-12 21:40:20 -04:00
parent c822a16596
commit 25f65a5f7b
8 changed files with 43 additions and 7 deletions

View File

@@ -401,7 +401,7 @@ func NewBuffer(r io.Reader, size int64, path string, startcursor Loc, btype BufT
OpenBuffers = append(OpenBuffers, b)
if !found {
if btype == BTDefault {
if btype == BTDefault && b.Settings["lsp"].(bool) {
b.lspInit()
}
}