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

Tagbar 疑问 #31

Open
Timson020 opened this issue Apr 10, 2020 · 3 comments
Open

Tagbar 疑问 #31

Timson020 opened this issue Apr 10, 2020 · 3 comments
Labels

Comments

@Timson020
Copy link

你好,我是vim的新手,看到你使用tarbag 希望可以得到你的帮助

@tao12345666333
Copy link
Owner

具体有什么问题呢?

@Timson020
Copy link
Author

关于tagbar怎么使用在以下文件

sass

less

jsx

@Timson020
Copy link
Author

let g:tagbar_type_javascriptreact = {
	\ 'ctagstype': 'javascript',
	\ 'kinds': [
		\ 'A:arrays',
		\ 'P:properties',
		\ 'T:tags',
		\ 'O:objects',
		\ 'G:generator functions',
		\ 'F:functions',
		\ 'C:constructors/classes',
		\ 'M:methods',
		\ 'V:variables',
		\ 'I:imports',
		\ 'E:exports',
		\ 'S:styled components'
\ ]}

let g:tagbar_type_scss = {
	\ 'ctagstype': 'scss',
	\ 'kinds': [
		\ 'd:definition',
		\ 'f:functions',
		\ 'm:mixins',
		\ 'v:variables',
		\ 'c:classes',
		\ 's:selectors',
		\ 'i:identities'
	\ ],
\ }

scss 的文件是可行的

jsx的这个配置有点问题

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

No branches or pull requests

2 participants