diff --git a/nvim/lua/plugins/util/neogen.lua b/nvim/lua/plugins/util/neogen.lua index 98669c5..e3fa182 100755 --- a/nvim/lua/plugins/util/neogen.lua +++ b/nvim/lua/plugins/util/neogen.lua @@ -2,15 +2,14 @@ return { "danymat/neogen", opts = { snippet_engine = "luasnip", - template = { - ocamldoc = { - { nil, "(** $1 *)", { no_reults = true, type = { "func", "class", "type", "file" } } }, - }, - }, languages = { ocaml = { template = { annotation_convention = "ocamldoc", + use_default_comment = false, + ocamldoc = { + { nil, "(** $1 *)", { no_results = true, type = { "func", "class", "type", "file" } } }, + }, }, parent = { func = { @@ -22,26 +21,25 @@ return { }, data = { func = { - func = { - ["value_definition"] = { - ["0"] = { - extract = function() - return {} - end, - }, + ["value_definition"] = { + ["0"] = { + extract = function() + return {} + end, }, }, - type = { - ["type_definition"] = { - ["0"] = { - extract = function() - return {} - end, - }, + }, + type = { + ["type_definition"] = { + ["0"] = { + extract = function() + return {} + end, }, }, }, }, + locator = nil, }, }, },