aboutsummaryrefslogtreecommitdiffstats
path: root/nvim/lua/settings
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--nvim/lua/settings/lua_ls.lua18
-rw-r--r--nvim/lua/settings/pyright.lua9
2 files changed, 27 insertions, 0 deletions
diff --git a/nvim/lua/settings/lua_ls.lua b/nvim/lua/settings/lua_ls.lua
new file mode 100644
index 0000000..1154de2
--- /dev/null
+++ b/nvim/lua/settings/lua_ls.lua
@@ -0,0 +1,18 @@
+return {
+ settings = {
+ Lua = {
+ diagnostics = {
+ globals = { "vim" },
+ },
+ workspace = {
+ library = {
+ [vim.fn.expand "$VIMRUNTIME/lua"] = true,
+ [vim.fn.stdpath "config" .. "/lua"] = true,
+ },
+ },
+ telemetry = {
+ enable = false,
+ },
+ },
+ },
+}
diff --git a/nvim/lua/settings/pyright.lua b/nvim/lua/settings/pyright.lua
new file mode 100644
index 0000000..c2a518d
--- /dev/null
+++ b/nvim/lua/settings/pyright.lua
@@ -0,0 +1,9 @@
+return {
+ settings = {
+ python = {
+ analysis = {
+ typeCheckingMode = "off",
+ },
+ },
+ },
+}