Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Append .ts to suffixesadd #72

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

iamFIREcracker
Copy link

No description provided.

@Quramy
Copy link
Owner

Quramy commented Jun 13, 2016

Hi @iamFIREcracker .

Why don't you write in your .vimrc the following ?

autocmd FileType typescript setlocal suffixesadd+=.ts

@iamFIREcracker
Copy link
Author

Yeah, that will do -- I already have setlocal suffixesadd+=.ts inside my 'ftplugin/typescript.vim'.

I proposed this change because I thought most of the users of this plugin will need to add that line to their .vimrc file; so why not simply add it to the plugin?

@Quramy
Copy link
Owner

Quramy commented Jun 14, 2016

I don't match use gf in editing TypeScript(I frequently use :TsuDefinition to jump other .ts file)...
And I think that configuration changes that plugins do is should be a minimum. If a not few users wising this change, I'll merge this PR :)

@ianks
Copy link
Contributor

ianks commented Oct 11, 2016

I have this in my vimrc as well, its useful.

@EvanCarroll
Copy link

EvanCarroll commented Dec 19, 2017

I support adding .ts into but we also need .mjs (the new extension for es6 syntax)

pangloss/vim-javascript@c03aee7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants