Skip to content

Commit a1580fc

Browse files
authored
Include *.jsx files in the default list
1 parent b20be68 commit a1580fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugin/vim-npr.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ let g:vim_npr_max_levels = 5
44

55
" Default file names to try if gf is run on a directory rather than a specific file.
66
" Checked in order of appearance. Empty string to check for exact file match first.
7-
let g:vim_npr_file_names = ["", ".js", "/index.js"]
7+
let g:vim_npr_file_names = ["", ".js", "/index.js", "/index.jsx"]
88

99
" A list of file extensions that the plugin will actively work on.
1010
let g:vim_npr_file_types = ["js", "jsx", "css", "coffee"]

0 commit comments

Comments
 (0)