#43351: tmux @1.9a; wrong file is copied to vim's ftdetect, breaking vim syntax -----------------------+-------------------------------- Reporter: vergus@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: tmux | -----------------------+-------------------------------- Comment (by tessarek@…): This is strange. I only had 3 files in my directory: `tmux.1.diff, tmux.h.diff, osdep-darwin.c.diff`. These patches were unnecessary with 1.9a and therefore I removed them. Maybe there was a glitch in svn when I checkout the Port. In any case it seems that this was my fault. Can you please restore the previous file `tmux.vim` into a new file called 'tmux.ftdetect` and change the line to: {{{ xinstall -m 0644 ${filespath}/tmux.ftdetect ${destroot}${prefix}/share/vim/vimfiles/ftdetect }}} If the OP prefers `autocmd BufNewFile,BufRead {.,}tmux.conf{.*,} setlocal filetype=tmux`, please change the content as well. I'm sorry to put this on you. I'd do it myseslf, but I don't have commit privilege. -- Ticket URL: <https://trac.macports.org/ticket/43351#comment:8> MacPorts <http://www.macports.org/> Ports system for OS X