added autocommand to change the indentation of php files

This commit is contained in:
aminnairi
2023-12-06 04:47:04 +01:00
parent df933c16ff
commit 4291eef69e
+9
View File
@@ -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,
})