diff options
author | Matthew Lemon <y@yulqen.org> | 2023-05-14 09:10:26 +0100 |
---|---|---|
committer | Matthew Lemon <y@yulqen.org> | 2023-05-14 09:10:26 +0100 |
commit | 0721b537a8aa3be8b70c183b25951494df9dcd0e (patch) | |
tree | eff07bbc31aeefbb9d2e441bb5ca8b5a5a527ffb /nvim/lua/settings | |
parent | 10a89dfbc6bc57ce12c8cf90f1b38a34b728b369 (diff) |
Installs nvim config base-idea
Diffstat (limited to 'nvim/lua/settings')
-rw-r--r-- | nvim/lua/settings/lua_ls.lua | 18 | ||||
-rw-r--r-- | nvim/lua/settings/pyright.lua | 9 |
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", + }, + }, + }, +} |