Fix custom filetype settings