Comments (6)
It works correctly for me in Debian wheezy 64bit, vim 7.3.
Can you run gotags
for that source file directly from the commandline to see if there are any errors?
from gotags.
FYI,
>gotags hello.go
!_TAG_FILE_FORMAT 2
!_TAG_FILE_SORTED 1 /0=unsorted, 1=sorted/
!_TAG_PROGRAM_AUTHOR Joel Stemmer /[email protected]/
!_TAG_PROGRAM_NAME gotags
!_TAG_PROGRAM_URL https://github.com/jstemmer/gotags
!_TAG_PROGRAM_VERSION 1.2.0
fmt 1.go 3;" i line:3
main 1.go 1;" p line:1
main 1.go 8;" f access:private line:8 signature:()
test 1.go 5;" f access:private line:5 signature:()
from gotags.
It looks like the gotags output is correct. I've managed to find a windows 7 machine (64-bit, with vim 7.4) to try and reproduce this, but it works correctly for me. Maybe the problem lies somewhere else? You could try and use the Tagbar plugin with ctags and other types of files and see if the same thing happens?
from gotags.
ctags works well for me with c,cpp files. I will try again to find out the culprit.
from gotags.
Done.
After adding set encoding = utf-8
into my vimrc file, it finally works.Plz close the issue,thanks for your help.
from gotags.
Ok, good to hear it works.
from gotags.
Related Issues (20)
- Give useful Usage example in README HOT 4
- Ctags is always needed by tagbar, even when only editing Go files HOT 1
- Parse error on variable-free for-range loops HOT 4
- Use case question HOT 2
- Gotags with CtrlPBufTag HOT 4
- Add a struct scope to the symbol files HOT 1
- Make command interface compatible with Exuberant and Universal ctags HOT 4
- on OSX if exuberant ctags is not installed, TagBar will complain HOT 4
- Tagbar fails due to `gotag --version` invocation HOT 2
- Why not add pattern to the output files? HOT 5
- jump to wrong line HOT 2
- Variadic Interface is not recognized
- Kinds: 'i' for interface, 'c' for class, 'n' for namespace HOT 3
- Inconsistent field order among structs and interfaces HOT 3
- Ignoring vendor folder
- how to integrate with vim :tselect HOT 1
- Unable to create the ctags for a list of files in a directory HOT 2
- saving go files with tagbar opened, cursor will jump up and down HOT 3
- Compatibility with future Go versions
- parser error for interface type
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gotags.