Comments (3)
I also found that this code bock:
if g:tsuquyomi_auto_open
call tsuquyomi#open()
endif
has been executed three times when loading a file into vim buffer. You can check tsuquyomi#bufManager#isOpened(filename)
to avoid unnecessary route.
from tsuquyomi.
I didn't take out soft links or symbolic links.
tsuquyomi#bufManager
uses only vim's buffer name, so `tsuquyomi#bufManager#isOpened('/private/tmp/hello.ts') does not return 1.
I use iTerm. I tried to create symbolic link and tried TsuquyomiOpen
with a symbolic link file. It works well.
I don't understand why this error occurs under tmux and link...
from tsuquyomi.
Ok, it's irrelavent to tmux, it's a path problem, and I'm able to reproduce it.
Actually, I have a problem with :echo tsuquyomi#hint()
CC@/tmp $ echo "var a = 3;" > foo.ts
CC@/tmp $ vim /tmp/foo.ts
# `:echo tsuquyomi#hint()` under `a`, it prints `[Tsuquyomi] There is no hint at the cursor.`
CC@/tmp $ vim foo.ts
# `:echo tsuquyomi#hint()` under `a`, it prints `var a: number `
from tsuquyomi.
Related Issues (20)
- Show inferred type? HOT 3
- Not an editor command: TsuDefinition HOT 2
- Only enable for *.js files when tsconfig.json present?
- tsuquyomi is not enabled for TS files with JSX in vim 8.2 HOT 4
- No inferred return type `undefined`
- Go to definition not working (<C-]>) on MacVim
- How to browser the completion box using tabs? HOT 1
- A normal quickfix list from :grep, :vimgrep, ... disappear when saving a buffer HOT 2
- Errors ignored on open
- How to remap default binding (Autocompletion)? HOT 1
- Argument of type 'MyType<E>' is not assignable to parameter of type 'Partial<MyType<E>>'
- NCM2 support
- Ctrl-click should also be <C-]> (go to definition)?
- tsuquyomi#hint(): nothing HOT 1
- Slow to open files
- "setlocal completeopt+=menu,preview": from README: not clear what it should do
- ":Unite tsproject": E492: Not an editor command
- E121: Undefined variable: g:tsuquyomi_javascript_support with `syntax on` before `filetype plugin on`
- TsuImport: Not work
- tsuquyomi#hint() get strange results
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 tsuquyomi.