This commit is contained in:
elkowar 2021-05-15 16:12:57 +02:00
parent 23c670c2b3
commit f7076e8a26
No known key found for this signature in database
GPG key ID: E321AD71B1D1F27F
4 changed files with 40 additions and 30 deletions

View file

@ -12,6 +12,7 @@
`(xpcall #,f #(a.println (fennel.traceback $1))))
(when (vim.fn.has "termguicolors")
(se termguicolors true))
@ -21,7 +22,11 @@
(make-errors-epic (require "plugins.lsp"))
(make-errors-epic (require "keybinds"))
(make-errors-epic (require "smart-compe-conjure"))
;(se runtimepath (.. vim.o.runtimepath ",/home/leon/coding/projects/kbd-vim"))
; TODO
;(make-errors-epic (require "smart-compe-conjure"))
; Basic setup --------------------------------------- foldstart
@ -53,7 +58,7 @@
(se smartindent true)
(se expandtab true)
(se wrap false)
(se completeopt "longest,menuone,noselect")
(se completeopt "menuone,noselect")
(se laststatus 2)
(se showmode true)
(se splitbelow true)
@ -61,6 +66,7 @@
(se mouse "a")
(se shell "bash")
(se background "dark")
;(se completeopt "longest,menuone,noselect")
(vim-let &t_ut "")

View file

@ -4,6 +4,7 @@
(packer-use
"/home/leon/coding/projects/nvim-gehzu" {}
:elkowar/kmonad.vim {}
:gruvbox-community/gruvbox {:opt false
:config #(vim.cmd "colorscheme gruvbox")}
@ -37,6 +38,9 @@
:glepnir/galaxyline.nvim {:mod "plugins.galaxyline"
:after "gruvbox"}
;:gwimm/lililine.nvim {:after "gruvbox"}
:akinsho/nvim-bufferline.lua {:mod "plugins.bufferline"}
:sindrets/diffview.nvim {:mod "plugins.diffview"}

View file

@ -1,24 +1,24 @@
(module plugins.compe
{autoload {compe compe}})
;(compe.setup
;{:enabled true
;:autocomplete false
;:debug false
;:min_length 1
;:preselect "enable"
;:throttle_time 80
;:source_timeout 200
;:incomplete_delay 400
;:max_abbr_width 100
;:max_kind_width 100
;:max_menu_width 100
;:documentation true
;:source {:path true
;:buffer true
;:calc true
;:nvim_lsp true
;:nvim_lua true
;:vsnip false
;:conjure true}})
(compe.setup
{:enabled true
:autocomplete false
:debug false
:min_length 1
:preselect "enable"
:throttle_time 80
:source_timeout 200
:incomplete_delay 400
:max_abbr_width 100
:max_kind_width 100
:max_menu_width 100
:documentation true
:source {:path true
:buffer true
:calc true
:nvim_lsp true
:nvim_lua true
:vsnip false
:conjure true}})

View file

@ -14,14 +14,14 @@
(do
(utils.highlight "LspReferenceRead" {:gui "underline"})
(utils.highlight "LspReferenceText" {:gui "underline"})
(utils.highlight "LspReferenceWrite" {:gui "underline"}))))
;(vim.api.nvim_exec
;"augroup lsp_document_highlight
;autocmd! * <buffer>
;autocmd CursorHold <buffer> lua vim.lsp.buf.document_highlight()
;autocmd CursorMoved <buffer> lua vim.lsp.buf.clear_references()
;augroup END"
;false))))
(utils.highlight "LspReferenceWrite" {:gui "underline"})
(vim.api.nvim_exec
"augroup lsp_document_highlight
autocmd! * <buffer>
autocmd CursorHold <buffer> lua vim.lsp.buf.document_highlight()
autocmd CursorMoved <buffer> lua vim.lsp.buf.clear_references()
augroup END"
false))))
(fn better_root_pattern [patterns except-patterns]