Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[coc.nvim] No typos exists #5

Open
mdeguzis opened this issue Aug 22, 2022 · 1 comment
Open

[coc.nvim] No typos exists #5

mdeguzis opened this issue Aug 22, 2022 · 1 comment

Comments

@mdeguzis
Copy link

mdeguzis commented Aug 22, 2022

I used a line from the readme, and it's saying no typos exist:

They are povied.

vim:

 NORMAL  /tmp/a[+]                                                                                                                                                                                       utf-8[unix]  100% ㏑:1/1☰℅:16 
[coc.nvim] No typos exists

Versions:

$ typos --version
typos-cli 1.11.1

$ vim --version | head -n 2
VIM - Vi IMproved 8.2 (2019 Dec 12, compiled Jul 12 2022 21:26:30)
Included patches: 1-5172

vim:

: CocList typos
[coc.nvim] Task error: spawn typos ENOENT

Troubleshooting
Use command :CocCommand workspace.showOutput typos to open output channel.

  1 [Info - 14:43:37.923] 0 typos found for file:///tmp/a.                                                         |  1 They are povied.
  2 [Info - 14:43:38.723] 0 typos found for file:///tmp/a.                                                         |~                                                                                                                  
  3 [Info - 14:43:38.950] 0 typos found for file:///tmp/a.                                                         |~                                                                                                                  
  4 [Info - 14:43:39.936] 0 typos found for file:///tmp/a.                                                         |~                                                                                                                  
  5 [Info - 14:43:45.193] 0 typos found for file:///tmp/a.                                                         |~                                                                                                                  
  6                                                                                                                |~                                                                                                                  
~                                                                        
@mdeguzis
Copy link
Author

mdeguzis commented Aug 22, 2022

Oh it does work now I guess, not sure why my test file didn't pick up the spelling error...? Could be language detection I guess.

typos --diff lib/testing/hydra-testing.ts

--- lib/testing/hydra-testing.ts        original
+++ lib/testing/hydra-testing.ts        fixed
@@ -66 +66 @@
-        this.grantAsumeCellRolePermission();
+        this.grantAssumeCellRolePermission();
@@ -122 +122 @@
-        new ssm.StringParameter(this, "RoleForTestingSingleEnvPermisisonsSSMParameter", {
+        new ssm.StringParameter(this, "RoleForTestingSingleEnvPermissionsSSMParameter", {
@@ -358 +358 @@
-    grantAsumeCellRolePermission(): void {
+    grantAssumeCellRolePermission(): void {

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant