aboutsummaryrefslogtreecommitdiffstats
path: root/nvim/lua/settings
diff options
context:
space:
mode:
authorMatthew Lemon <y@yulqen.org>2023-05-14 09:10:26 +0100
committerMatthew Lemon <y@yulqen.org>2023-05-14 09:10:26 +0100
commit0721b537a8aa3be8b70c183b25951494df9dcd0e (patch)
treeeff07bbc31aeefbb9d2e441bb5ca8b5a5a527ffb /nvim/lua/settings
parent10a89dfbc6bc57ce12c8cf90f1b38a34b728b369 (diff)
Installs nvim config base-idea
Diffstat (limited to 'nvim/lua/settings')
-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",
+ },
+ },
+ },
+}