aboutsummaryrefslogtreecommitdiffstats
path: root/lua/alpha
diff options
context:
space:
mode:
authorAriel D'Alessandro <ariel.dalessandro@auto1.com>2021-11-12 09:55:31 +0100
committerAriel D'Alessandro <ariel.dalessandro@auto1.com>2021-11-12 09:55:42 +0100
commitadb2cc07c8afec30aed627c5af192f9efcdd207f (patch)
tree325110b2622294fe024133e30f17b29db1fa96c7 /lua/alpha
parent8a4c1ecc94240e33fd3b9f21b97b2659f0ac66cb (diff)
downloadnvim-conf-adb2cc07c8afec30aed627c5af192f9efcdd207f.tar.gz
nvim-conf-adb2cc07c8afec30aed627c5af192f9efcdd207f.zip
replace tab by space
Diffstat (limited to 'lua/alpha')
-rw-r--r--lua/alpha/refactor.lua8
1 files changed, 4 insertions, 4 deletions
diff --git a/lua/alpha/refactor.lua b/lua/alpha/refactor.lua
index d583e59..cbb3235 100644
--- a/lua/alpha/refactor.lua
+++ b/lua/alpha/refactor.lua
@@ -118,18 +118,18 @@ M.setter_getter = function()
table.insert(insert, "")
if (comment ~= nil) then
table.insert(insert, " /**")
- table.insert(insert, string.format("\t * @return %s", comment))
+ table.insert(insert, string.format(" * @return %s", comment))
table.insert(insert, " */")
end
- table.insert(insert, string.format("\tpublic function get%s(): %s", firstToUpper(variable), varType))
+ table.insert(insert, string.format(" public function get%s(): %s", firstToUpper(variable), varType))
table.insert(insert, " {")
- table.insert(insert, string.format("\t\treturn $this->%s;", variable))
+ table.insert(insert, string.format(" return $this->%s;", variable))
table.insert(insert, " }")
table.insert(insert, "")
if (comment ~= nil) then
table.insert(insert, " /**")
- table.insert(insert, string.format("\t * @param %s %s", comment, p.property_element))
+ table.insert(insert, string.format(" * @param %s %s", comment, p.property_element))
table.insert(insert, " *")
table.insert(insert, " * @return self")
table.insert(insert, " */")