这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@haya14busa
Copy link
Member

No description provided.

@@ -0,0 +1,4 @@

function s:test()
Copy link
Contributor

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)

@@ -0,0 +1,4 @@

function s:test()
echo "Hello from reviewdog!"
Copy link
Contributor

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!"
Copy link
Contributor

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!"
Copy link
Contributor

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!"
Copy link
Contributor

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))

@haya14busa haya14busa merged commit b496258 into master Sep 23, 2019
@haya14busa haya14busa deleted the test branch September 23, 2019 09:01
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

Successfully merging this pull request may close these issues.

2 participants