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)))) `(xpcall #,f #(a.println (fennel.traceback $1))))
(when (vim.fn.has "termguicolors") (when (vim.fn.has "termguicolors")
(se termguicolors true)) (se termguicolors true))
@ -21,7 +22,11 @@
(make-errors-epic (require "plugins.lsp")) (make-errors-epic (require "plugins.lsp"))
(make-errors-epic (require "keybinds")) (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 ; Basic setup --------------------------------------- foldstart
@ -53,7 +58,7 @@
(se smartindent true) (se smartindent true)
(se expandtab true) (se expandtab true)
(se wrap false) (se wrap false)
(se completeopt "longest,menuone,noselect") (se completeopt "menuone,noselect")
(se laststatus 2) (se laststatus 2)
(se showmode true) (se showmode true)
(se splitbelow true) (se splitbelow true)
@ -61,6 +66,7 @@
(se mouse "a") (se mouse "a")
(se shell "bash") (se shell "bash")
(se background "dark") (se background "dark")
;(se completeopt "longest,menuone,noselect")
(vim-let &t_ut "") (vim-let &t_ut "")

View file

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

View file

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

View file

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