aboutsummaryrefslogtreecommitdiffstats
path: root/lua/alpha
diff options
context:
space:
mode:
Diffstat (limited to 'lua/alpha')
-rw-r--r--lua/alpha/refactor.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/lua/alpha/refactor.lua b/lua/alpha/refactor.lua
index 1d89fad..d583e59 100644
--- a/lua/alpha/refactor.lua
+++ b/lua/alpha/refactor.lua
@@ -134,11 +134,11 @@ M.setter_getter = function()
table.insert(insert, " * @return self")
table.insert(insert, " */")
end
- table.insert(insert, string.format("\tpublic function set%s(%s %s): self", firstToUpper(variable), varType, p.property_element))
+ table.insert(insert, string.format(" public function set%s(%s %s): self", firstToUpper(variable), varType, p.property_element))
table.insert(insert, " {")
- table.insert(insert, string.format("\t\t$this->%s = %s;", variable, p.property_element))
+ table.insert(insert, string.format(" $this->%s = %s;", variable, p.property_element))
table.insert(insert, "")
- table.insert(insert, string.format("\t\treturn $this;"))
+ table.insert(insert, string.format(" return $this;"))
table.insert(insert, " }")
vim.api.nvim_buf_set_lines(bufnr, classEnd, classEnd, false, insert)