diff options
| -rw-r--r-- | init.vim | 4 | ||||
| -rw-r--r-- | lua/alpha/snippets.lua | 6 |
2 files changed, 6 insertions, 4 deletions
@@ -28,5 +28,9 @@ augroup fmtphp autocmd BufWritePre *.php undojoin | Neoformat augroup END +filetype plugin indent on +autocmd FileType yaml setl indentkeys-=<:> +autocmd FileType yaml setlocal ts=2 sts=2 sw=2 expandtab + " Has to be the last line for the .nvimrc per project set secure diff --git a/lua/alpha/snippets.lua b/lua/alpha/snippets.lua index 378fa20..9a42b6c 100644 --- a/lua/alpha/snippets.lua +++ b/lua/alpha/snippets.lua @@ -9,10 +9,8 @@ local d = ls.dynamic_node ls.snippets = { php = { - s("getter", { - t("/**"), - t(" *"), - t(" *"), + s("$", { + t("$this->"), }) } } |