summaryrefslogtreecommitdiff
path: root/neovim/init.lua
diff options
context:
space:
mode:
authorMike Vink <mike1994vink@gmail.com>2022-11-21 11:35:50 +0100
committerMike Vink <mike1994vink@gmail.com>2022-11-21 11:35:50 +0100
commitd8c08728465ef5679d771f01d5ce84fb1ddb9096 (patch)
tree66a9da3e952bcd88cb33269c293de2bba344a082 /neovim/init.lua
parent389acba1bbddc5336eb65f752da36529c7f7b85d (diff)
start moving stuff to fennel
Diffstat (limited to 'neovim/init.lua')
-rw-r--r--neovim/init.lua32
1 files changed, 2 insertions, 30 deletions
diff --git a/neovim/init.lua b/neovim/init.lua
index c8ca7ec..36ad398 100644
--- a/neovim/init.lua
+++ b/neovim/init.lua
@@ -15,7 +15,7 @@ local function build_init()
end
allowed_globals = tbl_17_auto
end
- local opts = {verbosity = 1, compiler = {modules = {allowedGlobals = allowed_globals}}}
+ local opts = {verbosity = 0, compiler = {modules = {allowedGlobals = allowed_globals}}}
local function _3_(_241)
return _241
end
@@ -38,32 +38,4 @@ do
end
vim.api.nvim_create_autocmd("VimLeavePre", {callback = _5_})
end
-vim.g["mapleader"] = " "
-vim.g["maplocalleader"] = " "
-vim.cmd("colorscheme gruvbox-material")
-for k_7_auto, v_8_auto in pairs({backup = "false", backupcopy = "yes"}) do
- local _6_ = {k_7_auto, v_8_auto}
- if ((_G.type(_6_) == "table") and (nil ~= (_6_)[1]) and ((_6_)[2] == "true")) then
- local a_9_auto = (_6_)[1]
- vim.opt[k_7_auto] = true
- elseif ((_G.type(_6_) == "table") and (nil ~= (_6_)[1]) and ((_6_)[2] == "false")) then
- local a_9_auto = (_6_)[1]
- vim.opt[k_7_auto] = false
- elseif ((_G.type(_6_) == "table") and (nil ~= (_6_)[1]) and (nil ~= (_6_)[2])) then
- local a_9_auto = (_6_)[1]
- local b_10_auto = (_6_)[2]
- vim.opt[k_7_auto] = v_8_auto
- else
- end
-end
-do
- local ts = require("nvim-treesitter.configs")
- ts.setup[{highlight = {enable = true}}]()
-end
-local cmp = require("cmp")
-local snip
-local function _8_(args)
- return (require("luasnip")).lsp_expand(args.body)
-end
-snip = _8_
-return cmp.setup({snippet = {expand = snip}, completion = {autocomplete = false}, mapping = cmp.mapping.preset.insert({["<C-b>"] = cmp.mapping.scroll_docs(-4), ["<C-A>"] = cmp.mapping.complete()}), sources = cmp.config.sources({{name = "conjure"}, {name = "nvim_lsp"}, {name = "path"}, {name = "luasnip"}})}) \ No newline at end of file
+return require("conf") \ No newline at end of file