I'm trying to detect buck's TARGETS file as 'buck' files instead of 'python', which is the filetype vim's currently detecting for them.
I tried to add autocmd BufRead,BufNewFile **/TARGETS set filetype=buck
to my .vimrc but it didn't seem to work.
What's the correct way to change a 'default' detected file type ?