summaryrefslogtreecommitdiff
path: root/dot_config/nvim_new/lsp/standardrb.lua
diff options
context:
space:
mode:
Diffstat (limited to 'dot_config/nvim_new/lsp/standardrb.lua')
-rw-r--r--dot_config/nvim_new/lsp/standardrb.lua10
1 files changed, 10 insertions, 0 deletions
diff --git a/dot_config/nvim_new/lsp/standardrb.lua b/dot_config/nvim_new/lsp/standardrb.lua
new file mode 100644
index 0000000..91ab2ce
--- /dev/null
+++ b/dot_config/nvim_new/lsp/standardrb.lua
@@ -0,0 +1,10 @@
+---@brief
+---
+--- https://github.com/testdouble/standard
+---
+--- Ruby Style Guide, with linter & automatic code fixer.
+return {
+ cmd = { 'standardrb', '--lsp' },
+ filetypes = { 'ruby' },
+ root_markers = { 'Gemfile', '.git' },
+}