aboutsummaryrefslogtreecommitdiffstats
path: root/lsp/rubocop.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lsp/rubocop.lua')
-rw-r--r--lsp/rubocop.lua8
1 files changed, 8 insertions, 0 deletions
diff --git a/lsp/rubocop.lua b/lsp/rubocop.lua
new file mode 100644
index 00000000..150310b3
--- /dev/null
+++ b/lsp/rubocop.lua
@@ -0,0 +1,8 @@
+---@brief
+---
+---https://github.com/rubocop/rubocop
+return {
+ cmd = { 'rubocop', '--lsp' },
+ filetypes = { 'ruby' },
+ root_markers = { 'Gemfile', '.git' },
+}