Comments (9)
I found a workaround, see leafgarland/typescript-vim#47
The problem was that syntastic didn't checked typscript.json file
EDIT: You only have to set this in vimrc file:
let g:syntastic_typescript_tsc_fname = ''
from tsuquyomi.
It seems tsuquyomi does not read tsconfig.json
. It might be fixed if you place tsconfig.json
at upper paths /
, /app/
, /app/pages/
, or /app/pages/page1/
.
from tsuquyomi.
After some more digging, it seems to be due to neomake, not tsuquyomi. Sorry for the noise!
Cheers
from tsuquyomi.
@mhartington I've got the same problem. I don't use neomake, I'm using "ng" command to generate my angular2 project and I've got the same warning.
Any idea ?
My tsconfig is:
{
"compilerOptions": {
"declaration": false,
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"mapRoot": "",
"module": "system",
"moduleResolution": "node",
"noEmitOnError": true,
"noImplicitAny": false,
"outDir": "../dist/",
"rootDir": ".",
"sourceMap": true,
"sourceRoot": "/",
"target": "es5"
}
}
Vim is opened where the tsconfig file resides...
from tsuquyomi.
Hmm, not seeing this in my test. Are you using syntastic?
from tsuquyomi.
this workaround does not work for me (using neovim 0.1.4)
no matter where i put my tsconfig.json — tsuquyomi does not seem to pick it up :(
from tsuquyomi.
@mhartington: could you elaborate on your digging? just wanna make sure i don't have the same problem
from tsuquyomi.
@chapati23 Have you figured it out? @metal3d I have the same problem, setting let g:syntastic_typescript_tsc_fname = ''
doesn't help
from tsuquyomi.
@vyorkin working for me now. unfortunately i couldn't tell you what change helped at the end because i just reinstalled and refactored my whole neovim installation :-/
from tsuquyomi.
Related Issues (20)
- Neovim doesn't work without vimproc HOT 1
- Terminal tooltip error
- 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`
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.