mirror of
https://github.com/aminnairi/dotfiles.git
synced 2026-11-13 14:19:09 +01:00
added autocommand to change the indentation of php files
This commit is contained in:
1 parent
df933c16ff
commit
4291eef69e
1 file changed
+9
@@ -0,0 +1,9 @@
|
|||||||
|
vim.api.nvim_create_autocmd("FileType", {
|
||||||
|
pattern = "php",
|
||||||
|
callback = function()
|
||||||
|
vim.bo.tabstop = 4
|
||||||
|
vim.bo.softtabstop = 4
|
||||||
|
vim.bo.shiftwidth = 4
|
||||||
|
vim.bo.expandtab = true
|
||||||
|
end,
|
||||||
|
})
|
||||||
Reference in new issue
Block a user