-
-
Notifications
You must be signed in to change notification settings - Fork 2
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
debug: add test code #1
Conversation
@@ -0,0 +1,4 @@ | |||
|
|||
function s:test() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[vint] reported by reviewdog 🐶
Unused variable: s:test (see :help E738)
testdata/test.vim
Outdated
@@ -0,0 +1,4 @@ | |||
|
|||
function s:test() | |||
echo "Hello from reviewdog!" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[vint] reported by reviewdog 🐶
Prefer single quoted strings (see Google VimScript Style Guide (Strings))
@@ -0,0 +1,4 @@ | |||
|
|||
function s:test() | |||
let x = "Hello from reviewdog!" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[vint] reported by reviewdog 🐶
Make the scope explicit like l:x
(see Anti-pattern of vimrc (Scope of identifier))
@@ -0,0 +1,4 @@ | |||
|
|||
function s:test() | |||
let x = "Hello from reviewdog!" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[vint] reported by reviewdog 🐶
Unused variable: x (see :help E738)
@@ -0,0 +1,4 @@ | |||
|
|||
function s:test() | |||
let x = "Hello from reviewdog!" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[vint] reported by reviewdog 🐶
Prefer single quoted strings (see Google VimScript Style Guide (Strings))
No description provided.