mirror of
https://github.com/zyedidia/micro.git
synced 2026-03-18 23:07:13 +09:00
LSP option and better LSP status
This commit is contained in:
@@ -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()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user