2

Is there any way to disable different marking of executable files? They are colored differently and marked with asterisk, both on vim's :Explore and NERDtree.

NewPhpBoy
  • 31
  • 3
  • `:set filetype=` or `:syntax off` - see `:help filetype` and `:help syntax` and [this question](http://stackoverflow.com/questions/11272501/vim-default-syntax-highlighting). – Kenney Feb 29 '16 at 22:20
  • I am talking about files in tree view, not the one being edited. – NewPhpBoy Feb 29 '16 at 23:16
  • What? Disabling all syntax? I don't want that. – NewPhpBoy Mar 02 '16 at 08:40
  • Then I guess you'll have to override the syntax highlighting rules for executable files in the `netrw` syntax (`/usr/share/vim/vim74/syntax/netrw.vim`). Btw, you do know that `:set filetype=` only applies to the current view, right? Any file you open will have syntax highlighting enabled. – Kenney Mar 02 '16 at 11:47

1 Answers1

0

Seems like only solution is to remove executable permission for those files.

NewPhpBoy
  • 31
  • 3