aboutsummaryrefslogtreecommitdiffstats
path: root/lua/alpha/lsp/servers/lua_ls.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/alpha/lsp/servers/lua_ls.lua')
-rw-r--r--lua/alpha/lsp/servers/lua_ls.lua36
1 files changed, 0 insertions, 36 deletions
diff --git a/lua/alpha/lsp/servers/lua_ls.lua b/lua/alpha/lsp/servers/lua_ls.lua
deleted file mode 100644
index c5f72bf..0000000
--- a/lua/alpha/lsp/servers/lua_ls.lua
+++ /dev/null
@@ -1,36 +0,0 @@
-local lsp_attach = require "alpha.lsp.attach"
-local lsp_flags = require "alpha.lsp.flags"
-
-return function(ops)
- if ops.neodev == true then
- require("neodev").setup()
- end
-
- return vim.tbl_extend("force", {
- on_attach = lsp_attach,
- flags = lsp_flags,
- settings = {
- Lua = {
- runtime = {
- version = "LuaJIT",
- },
- diagnostics = {
- globals = { "vim" },
- },
- workspace = {
- library = vim.api.nvim_get_runtime_file("", true),
- checkThirdParty = false,
- },
- telemetry = {
- enable = false,
- },
- hint = {
- enable = true,
- },
- completion = {
- callSnippet = "Replace",
- },
- },
- },
- }, ops)
-end