Skip to content

uki00a/vim-deno

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vim-deno

An experimental vim plugin for Deno

Requirements

Features

Installation

[[plugins]]
repo = 'uki00a/vim-deno'
build = 'npm install' # If you want to use tsserver integration via ALE

Commands

Run the current buffer using deno run:

:DenoRun

Format the current buffer using deno fmt:

:DenoFmt

Run tests for the current file using deno test:

:DenoTest

Lint the current buffer using deno lint:

:DenoLint

Show documentation for the current file using deno doc:

:DenoDoc

(experimental) ALE integration

This plugin provides ALE integration. The following linters are defined in ale_linters/typescript directory:

  • deno - lints the file using deno lint command.
  • deno-tsserver - provides tsserver integration using typescript-deno-plugin.

When you want to use deno-tsserver, run the following command in the root directory of this plugin:

$ npm install

By default, ALE run all available linters. If you limit ALE to use linters provided by this plugin, add the following setting to your init.vim:

let g:ale_linters = {}

...

let g:ale_linters['typescript'] = ['deno', 'deno-tsserver']

TODO

  • Add support for Vim
  • Implement DenoRun command
  • Implement DenoLint command
  • Improve DenoTest command
  • ALE integration
  • tsserver integration
  • LSP integration?

About

An experimental vim plugin for Deno🦕

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published