From fe5ae7a12cfab9259d023283f53384aa2b2b63b3 Mon Sep 17 00:00:00 2001 From: Yegappan Lakshmanan Date: Thu, 17 Feb 2022 18:06:38 -0800 Subject: [PATCH] Move the autoload files into the lsp subdirectory --- autoload/{ => lsp}/buffer.vim | 0 autoload/{ => lsp}/callhierarchy.vim | 0 autoload/{ => lsp}/codeaction.vim | 0 autoload/{ => lsp}/diag.vim | 0 autoload/{ => lsp}/handlers.vim | 0 autoload/{ => lsp}/lsp.vim | 0 autoload/{ => lsp}/lspoptions.vim | 0 autoload/{ => lsp}/lspserver.vim | 0 autoload/{ => lsp}/outline.vim | 0 autoload/{ => lsp}/selection.vim | 0 autoload/{ => lsp}/signature.vim | 0 autoload/{ => lsp}/symbol.vim | 0 autoload/{ => lsp}/textedit.vim | 0 autoload/{ => lsp}/util.vim | 0 plugin/lsp.vim | 12 ++++++------ 15 files changed, 6 insertions(+), 6 deletions(-) rename autoload/{ => lsp}/buffer.vim (100%) rename autoload/{ => lsp}/callhierarchy.vim (100%) rename autoload/{ => lsp}/codeaction.vim (100%) rename autoload/{ => lsp}/diag.vim (100%) rename autoload/{ => lsp}/handlers.vim (100%) rename autoload/{ => lsp}/lsp.vim (100%) rename autoload/{ => lsp}/lspoptions.vim (100%) rename autoload/{ => lsp}/lspserver.vim (100%) rename autoload/{ => lsp}/outline.vim (100%) rename autoload/{ => lsp}/selection.vim (100%) rename autoload/{ => lsp}/signature.vim (100%) rename autoload/{ => lsp}/symbol.vim (100%) rename autoload/{ => lsp}/textedit.vim (100%) rename autoload/{ => lsp}/util.vim (100%) diff --git a/autoload/buffer.vim b/autoload/lsp/buffer.vim similarity index 100% rename from autoload/buffer.vim rename to autoload/lsp/buffer.vim diff --git a/autoload/callhierarchy.vim b/autoload/lsp/callhierarchy.vim similarity index 100% rename from autoload/callhierarchy.vim rename to autoload/lsp/callhierarchy.vim diff --git a/autoload/codeaction.vim b/autoload/lsp/codeaction.vim similarity index 100% rename from autoload/codeaction.vim rename to autoload/lsp/codeaction.vim diff --git a/autoload/diag.vim b/autoload/lsp/diag.vim similarity index 100% rename from autoload/diag.vim rename to autoload/lsp/diag.vim diff --git a/autoload/handlers.vim b/autoload/lsp/handlers.vim similarity index 100% rename from autoload/handlers.vim rename to autoload/lsp/handlers.vim diff --git a/autoload/lsp.vim b/autoload/lsp/lsp.vim similarity index 100% rename from autoload/lsp.vim rename to autoload/lsp/lsp.vim diff --git a/autoload/lspoptions.vim b/autoload/lsp/lspoptions.vim similarity index 100% rename from autoload/lspoptions.vim rename to autoload/lsp/lspoptions.vim diff --git a/autoload/lspserver.vim b/autoload/lsp/lspserver.vim similarity index 100% rename from autoload/lspserver.vim rename to autoload/lsp/lspserver.vim diff --git a/autoload/outline.vim b/autoload/lsp/outline.vim similarity index 100% rename from autoload/outline.vim rename to autoload/lsp/outline.vim diff --git a/autoload/selection.vim b/autoload/lsp/selection.vim similarity index 100% rename from autoload/selection.vim rename to autoload/lsp/selection.vim diff --git a/autoload/signature.vim b/autoload/lsp/signature.vim similarity index 100% rename from autoload/signature.vim rename to autoload/lsp/signature.vim diff --git a/autoload/symbol.vim b/autoload/lsp/symbol.vim similarity index 100% rename from autoload/symbol.vim rename to autoload/lsp/symbol.vim diff --git a/autoload/textedit.vim b/autoload/lsp/textedit.vim similarity index 100% rename from autoload/textedit.vim rename to autoload/lsp/textedit.vim diff --git a/autoload/util.vim b/autoload/lsp/util.vim similarity index 100% rename from autoload/util.vim rename to autoload/lsp/util.vim diff --git a/plugin/lsp.vim b/plugin/lsp.vim index 7d241ea..d8161b9 100644 --- a/plugin/lsp.vim +++ b/plugin/lsp.vim @@ -9,8 +9,8 @@ endif var opt = {} var lspf = {} if has('patch-8.2.4257') - import '../autoload/lspoptions.vim' as lspoptions - import '../autoload/lsp.vim' + import '../autoload/lsp/lspoptions.vim' as lspoptions + import '../autoload/lsp/lsp.vim' opt.LspOptionsSet = lspoptions.OptionsSet opt.lspOptions = lspoptions.lspOptions @@ -49,8 +49,8 @@ if has('patch-8.2.4257') lspf.addWorkspaceFolder = lsp.AddWorkspaceFolder lspf.removeWorkspaceFolder = lsp.RemoveWorkspaceFolder elseif has('patch-8.2.4019') - import '../autoload/lspoptions.vim' as opt_import - import '../autoload/lsp.vim' as lsp_import + import '../autoload/lsp/lspoptions.vim' as opt_import + import '../autoload/lsp/lsp.vim' as lsp_import opt.LspOptionsSet = opt_import.OptionsSet opt.lspOptions = opt_import.lspOptions @@ -89,7 +89,7 @@ elseif has('patch-8.2.4019') lspf.addWorkspaceFolder = lsp_import.AddWorkspaceFolder lspf.removeWorkspaceFolder = lsp_import.RemoveWorkspaceFolder else - import {lspOptions, OptionsSet} from '../autoload/lspoptions.vim' + import {lspOptions, OptionsSet} from '../autoload/lsp/lspoptions.vim' import {EnableServerTrace, AddServer, RestartServer, @@ -123,7 +123,7 @@ else FoldDocument, ListWorkspaceFolders, AddWorkspaceFolder, - RemoveWorkspaceFolder} from '../autoload/lsp.vim' + RemoveWorkspaceFolder} from '../autoload/lsp/lsp.vim' opt.LspOptionsSet = OptionsSet opt.lspOptions = lspOptions -- 2.48.1