filetype.nvim
filetype.nvim copied to clipboard
Set ft=systemd for `.service`?
Would it be acceptable to set the filetype as systemd for .service
extensions?
I often work on service files not in the /etc/systemd
or the related folders when working on Ansible and Butane projects.
You can try this
require("filetype").setup({
overrides = {
complex = {
[".service"] = "systemd",
},
},
})
@Iamafnan Thanks, that gets my editor working as expected.
Would the project like a PR for this?