feat: add filteredTypes

This commit is contained in:
fiplox 2023-01-28 15:27:45 +01:00
parent 1c8280788f
commit 383858f1ae
1 changed files with 7 additions and 4 deletions

View File

@ -167,10 +167,6 @@ local config = {
-- signatureHelp = { enabled = true },
completion = {
favoriteStaticMembers = {
'org.assertj.core.api.Assertions.assertThat',
'org.assertj.core.api.Assertions.assertThatThrownBy',
'org.assertj.core.api.Assertions.assertThatExceptionOfType',
'org.assertj.core.api.Assertions.catchThrowable',
'org.hamcrest.MatcherAssert.assertThat',
'org.hamcrest.Matchers.*',
'org.hamcrest.CoreMatchers.*',
@ -179,6 +175,13 @@ local config = {
'java.util.Objects.requireNonNullElse',
'org.mockito.Mockito.*',
},
filteredTypes = {
'com.sun.*',
'io.micrometer.shaded.*',
'java.awt.*',
'jdk.*',
'sun.*',
},
},
contentProvider = { preferred = 'fernflower' },
extendedClientCapabilities = extendedClientCapabilities,