summaryrefslogtreecommitdiff
path: root/.config/nvim/lua/opts.lua
diff options
context:
space:
mode:
Diffstat (limited to '.config/nvim/lua/opts.lua')
-rw-r--r--.config/nvim/lua/opts.lua7
1 files changed, 1 insertions, 6 deletions
diff --git a/.config/nvim/lua/opts.lua b/.config/nvim/lua/opts.lua
index ef8472a..7750921 100644
--- a/.config/nvim/lua/opts.lua
+++ b/.config/nvim/lua/opts.lua
@@ -1,4 +1,4 @@
--- autocomplete config
+-- CMP
local cmp = require 'cmp'
cmp.setup {
@@ -40,20 +40,15 @@ require'lspconfig'.sumneko_lua.setup {
settings = {
Lua = {
runtime = {
- -- Tell the language server which version of Lua you're using (most likely LuaJIT in the case of Neovim)
version = 'LuaJIT',
- -- Setup your lua path
path = runtime_path,
},
diagnostics = {
- -- Get the language server to recognize the `vim` global
globals = {'vim'},
},
workspace = {
- -- Make the server aware of Neovim runtime files
library = vim.api.nvim_get_runtime_file("", true),
},
- -- Do not send telemetry data containing a randomized but unique identifier
telemetry = {
enable = false,
},