mirror of
https://github.com/elkowar/dots-of-war.git
synced 2024-11-05 19:02:24 +00:00
asdf
This commit is contained in:
parent
23c670c2b3
commit
f7076e8a26
4 changed files with 40 additions and 30 deletions
|
@ -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 "")
|
||||
|
||||
|
|
|
@ -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"}
|
||||
|
|
|
@ -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}})
|
||||
|
||||
|
|
|
@ -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]
|
||||
|
|
Loading…
Reference in a new issue