From 8faa599646f482d3ed04e645eb04af94bcd12feb Mon Sep 17 00:00:00 2001 From: Raphael Date: Tue, 6 Dec 2022 17:23:41 +0800 Subject: feat: support unnamed buffer with single_file_support (#2226) * feat: support unnamed buffer with single_file_support * fix: make some code simple clear * feat: update doc * fix: grammar * fix: grammar --- doc/lspconfig.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'doc') diff --git a/doc/lspconfig.txt b/doc/lspconfig.txt index d43ca15e..8144b708 100644 --- a/doc/lspconfig.txt +++ b/doc/lspconfig.txt @@ -442,6 +442,8 @@ mode under which cross-file features may be degraded. `workspaceFolders` during initialization. - attaching subsequent files in the parent directory to the same server instance, depending on filetype. +- also supports unnamed buffer if filetype matches the server filetype + settings. Cross-file features (navigation, hover) may or may not work depending on the language server. For a full feature-set, consider moving your files to a -- cgit v1.2.3-70-g09d2