summaryrefslogtreecommitdiff
path: root/.config/nvim
diff options
context:
space:
mode:
authorAdam <56338480+adastx@users.noreply.github.com>2021-10-06 01:12:12 +0200
committerAdam <56338480+adastx@users.noreply.github.com>2021-10-06 01:12:12 +0200
commitef60da241458cf1706a71e1e67ee936cf2273857 (patch)
treeb35e718f95efb68c05a4ee659d82c098e02684b0 /.config/nvim
parent56d42d6d2ed2f07448f4bd3fe239e4074caad155 (diff)
...
Diffstat (limited to '.config/nvim')
-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,
},