diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2022-11-29 17:26:54 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2022-11-29 17:26:54 +0800 |
commit | ac7ce0d0d0a63b1ca5d0aa87dd1229dd2166d4e0 (patch) | |
tree | 5feaa1f9ef2f7f72e1eb002f59afbbc763274056 /script/provider/capability.lua | |
parent | 1ec33e6ed9dc4583d5775721c4c874d91a17f0eb (diff) | |
download | lua-language-server-ac7ce0d0d0a63b1ca5d0aa87dd1229dd2166d4e0.zip |
modify `require` after renaming files
Diffstat (limited to 'script/provider/capability.lua')
-rw-r--r-- | script/provider/capability.lua | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/script/provider/capability.lua b/script/provider/capability.lua index 0f00cec1..873fbfd3 100644 --- a/script/provider/capability.lua +++ b/script/provider/capability.lua @@ -10,44 +10,6 @@ require 'provider.inlay-hint' local m = {} -local function testFileEvents(initer) - initer.fileOperations = { - didCreate = { - filters = { - { - pattern = { - glob = '**', - --matches = 'file', - options = platform.OS == 'Windows', - } - } - } - }, - didDelete = { - filters = { - { - pattern = { - glob = '**', - --matches = 'file', - options = platform.OS == 'Windows', - } - } - } - }, - didRename = { - filters = { - { - pattern = { - glob = '**', - --matches = 'file', - options = platform.OS == 'Windows', - } - } - } - }, - } -end - m.fillings = {} local function mergeFillings(provider) @@ -79,8 +41,6 @@ function m.getProvider() }, } - --testFileEvents() - nonil.enable() if not client.info.capabilities.textDocument.completion.dynamicRegistration or not client.info.capabilities.workspace.configuration then |