summaryrefslogtreecommitdiff
path: root/.config
diff options
context:
space:
mode:
Diffstat (limited to '.config')
-rw-r--r--.config/nvim/init.vim9
-rw-r--r--.config/nvim/lua/opts.lua7
2 files changed, 5 insertions, 11 deletions
diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim
index 9858e3b..614be0c 100644
--- a/.config/nvim/init.vim
+++ b/.config/nvim/init.vim
@@ -17,12 +17,11 @@ endif
lua require 'init'
-" lua require'colorizer'.setup()
lua << EOF
require 'colorizer'.setup {
- '*'; -- Highlight all files, but customize some others.
- '!vim'; -- Exclude vim from highlighting.
- css = { rgb_fn = true; }; -- Enable parsing rgb(...) functions in css.
- html = { names = false; } -- Disable parsing "names" like Blue or Gray
+ '*';
+ '!vim';
+ css = { rgb_fn = true; };
+ html = { names = false; }
}
EOF
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,
},