about summary refs log tree commit diff
path: root/config/nvim/.luarc.json
diff options
context:
space:
mode:
Diffstat (limited to 'config/nvim/.luarc.json')
-rw-r--r--config/nvim/.luarc.json18
1 files changed, 18 insertions, 0 deletions
diff --git a/config/nvim/.luarc.json b/config/nvim/.luarc.json
new file mode 100644
index 0000000..bd8a14b
--- /dev/null
+++ b/config/nvim/.luarc.json
@@ -0,0 +1,18 @@
+{
+    "$schema": "https://raw.githubusercontent.com/LuaLS/vscode-lua/master/setting/schema.json",
+    "Lua.runtime.version": "LuaJIT",
+    "diagnostics.globals": ["vim"],
+    "workspace.checkThirdParty": false,
+    "workspace.library": [
+        "$VIMRUNTIME"
+    ],
+    "Lua.diagnostics.enable": true,
+    "Lua.format.defaultConfig": {
+        "indent_style": "space",
+        "indent_size": "2"
+    },
+    "typeFormat.config": false,
+    "completion.callSnippet": "Replace",
+    "completion.showWord": "Disable",
+    "completion.workspaceWord": false
+}