Commit Graph

8 Commits

Author SHA1 Message Date
Akin 65d0e20455
Feature/reapply syntax highlighting onColorscheme autocmd (#2565)
* initial effort to get syntax highlighting to reapply on colorscheme reload

* remove lint check for whitespace inside template literals

* neaten reducer reset tidy up comment in bufferhighlight
so it appears in documentation dropdown

* Refactor token colors to pass token scopes as an array of strings
update affected tests

* fix imports in token colors

* pass in only visible tokens to the neovim token synchronizer

* fix lint errors

* fix another lint error

* revert token destructuring in reconciler

* notify redraw when tokencolors change in neovim editor

* update redux

* [wip] get token subset in synchronizeTokenColors

* make cache access more readable

* remove subset functionality from token synchronizer

* convert highlight cache to map so it can be cleared and reused easily

* do not split tokens on space char as this changes the way tokens are identified

* revert package json and yarn lock

* move private fields to avoid lint errors

* add onColorsChanged to neovim instance mock

* fix comments for token formatter function in token colors
2018-10-19 10:27:27 +01:00
Bryan Phelps 97509200be
Upgrade tslint to 5.9.1 (#1384)
* Upgrade tslint, run 'fix lint'

* Fix lint issues
2018-01-28 11:12:43 -08:00
Bryan Phelps 30c186aec1
Run prettier on all files in repo (#1362)
* Run prettier on all files in the repo

* Temporarily remove pre-push hook

* Start tweaking settings to get lint passing

* Fix some tslint errors

* Fix lint issues

* Disable align rule, since prettier takes care of that for us

* Add prepush rule back

* Fix test lint error
2018-01-25 15:13:53 -08:00
Akin cb475c5c0f Feature/prepush hook v2 (#1361)
* add prettierrc, tweak tslint.json to match prettier

* add prettier husky and pretty-quick dependencies
2018-01-25 14:03:16 -08:00
Bryan Phelps e2dc9bcbfc
Fix #956 - Fix autocompletion oddities (#972)
* Refactor Completion logic to use redux-observable + epics

* Split out completion functionality into store/reducers/epics/selectors

* Continue refactoring, hook up commit completion

* Get first round of selection working

* Fix selecting item

* Remove now-unused code

* First round of lint fixes

* Restore vim folder

* Clean up code after merge, get building and running

* Move Completion up a level, since it is not only applicable to language services

* Move CompletionUtilityTest to mirror src

* Complete move of Completion upward from Language folder

* Fix some logging issues

* Fix lint issues

* Add failing unit tests for getCompletionMeet

* Add unit test that exercises broken case in #956

* Get unit test green

* Start factoring 'createStore' to common location

* Refactor to use common createStore

* Add RAFNotifyBatcher

* Move RAFNotifyBatcher

* Rename RAFNotifyBatcher

* Refactor completion logic out to handle the transitional cases

* Refactor logic to handle the cases in #956

* Some lint cleanups

* Fix lint issue

* Fix lint issue and refactoring issue

* Fix rendering issue with context menu

* Add CSS / TypeScript tests

* Fix lint issue
2017-11-27 17:27:55 -08:00
extr0py 15d2602755 [WIP #588] Migrate main process code to typescript (#692)
* Add uild:main command

* Begin migration to typescript

* Update to use new built strategy

* Fix path to index / icon

* Add build:main command

* Add lint commands

* Bump tslint version, run fix-lint on main

* Fix lint issues

* More lint ifxes

* Fix lint issues in actions.ts

* Remove 'no-submodule-imports' rule

* Fix function typing issue

* Further tslint fixes

* Additional round of lint fixes

* Fix next round of lint issues

* Remove duplicate State imports

* Fix more lint issues

* Fix remaining lint issues in TypeScriptServerHost

* First round of tslint fixes for main process

* Fix remaining issue with main.ts

* Fix remaining main lint errors

* Fix lint issues in test

* Remove redux action entry point from logs
2017-09-09 14:59:21 -07:00
extr0py 180652ff05 Fix #229: Improve msgpack-layer perf by using `msgpack-lite` (#536)
* Bring in msgpack-lite library

* Progress on msgpack-lite integration - get request callbacks hooked up

* Get basic keypresses working

* Update PLAN

* Remove session wrapper in a couple of places

* Progress on handling Window/Buffer types

* Factor types out, use WindowReference, start removing Q usage

* Fix missing return

* Refactor out Q from Buffer

* Factor out several usages of Q

* Remove OniUpdateWindowDisplayMap on cursor moved

* Add boolean variable to OniUpdateWindowDisplayMap to decide if it should re-measure or not

* Remove unused getSelectionRange method

* Remove SessionWrapper

* Update PLAN

* Refactor to use barrel for
eovim folder

* Continue refactoring / clean-up

* Move NeovimInstance to
eovim folder

* Update PLAN

* Some code clean-up / lint fixes

* Fix lint issues and more clean-up

* Fix destructuring in processing the notification messages

* Suppress arrow-parens rule

* Refactor a few promises to use async/await

* Update PLAN.md

* Remove PLAN

* Clamp version of typing for msgpack-lite
2017-07-15 11:28:19 -07:00
extr0py d29473e056 Fix #298 - Initial spectron validation (integration tests) (#439)
* Bring in spectron as a development dependency

* Create initial launch test

* Run unit tests as part of appveyor build

* Fix naming of npm commands in script

* Move tslint.json to root

* Add lint and fix lint errors

* Update integration test command to include timeout

* Update path for darwin build

* Update LaunchTest with Linux path

* Set travis display

* Split unit/integration test for .travis.yml

* Remove install/test from shell script

* Fix tslint error

* Update set-travis-display permission

* Pick out correct path for Linux based on arch

* Update set-travis-display

* Move set-travis-display.sh -> travis-build.sh

* Use travis-build.sh to conditionally run tests only on OSX
2017-05-03 09:33:02 -07:00
Renamed from browser/tslint.json (Browse further)