[MacPorts] #43351: tmux @1.9a; wrong file is copied to vim's ftdetect, breaking vim syntax

MacPorts noreply at macports.org
Sun Apr 13 18:43:57 PDT 2014


#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      |
-----------------------+--------------------------------
Changes (by ryandesign@…):

 * cc: tessarek@…, ryandesign@… (added)


Comment:

 Replying to [ticket:43351 vergus@…]:
 > The wrong file is being written to
 /opt/local/share/vim/vimfiles/ftdetect/tmux.vim . What is currently being
 written is a copy of the syntax file located at:
 /opt/local/share/vim/vimfiles/syntax/tmux.vim.

 This change was made in r118741, as requested and provided as part of
 #43309. I'm Cc'ing the provider of that patch for comment.

 > What should be writtent to that file is:
 > {{{
 > autocmd BufNewFile,BufRead {.,}tmux.conf{.*,} setlocal filetype=tmux
 > }}}

 What we had in the file before was:

 {{{
 autocmd BufRead,BufNewFile .tmux.conf setf tmux
 }}}

 We can go back to that, or to your version, if we need to. I don't know
 tmux so I don't know what's appropriate.

-- 
Ticket URL: <https://trac.macports.org/ticket/43351#comment:1>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list