We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d8c8145 commit cb1f384Copy full SHA for cb1f384
lua/neogen/configurations/python.lua
@@ -204,7 +204,10 @@ return {
204
if decorator == "@staticmethod" then
205
remove_identifier = false
206
end
207
+ elseif node:parent():parent():type() == "function_definition" then
208
+ remove_identifier = false
209
210
+
211
if remove_identifier then
212
table.remove(res[i.Parameter], 1)
213
if vim.tbl_isempty(res[i.Parameter]) then
lua/neogen/init.lua
@@ -299,7 +299,7 @@ end
299
--- with multiple annotation conventions.
300
---@tag neogen-changelog
301
---@toc_entry Changes in neogen plugin
302
-neogen.version = "2.15.1"
+neogen.version = "2.15.2"
303
--minidoc_afterlines_end
304
305
return neogen
0 commit comments