Compare commits
No commits in common. "a9e30eb2f653d9a61501a8102089cf0c862c3fc0" and "0e309f4fde30806ca49571d4e535811041677df1" have entirely different histories.
a9e30eb2f6
...
0e309f4fde
@ -9,7 +9,6 @@
|
||||
(nvim.set_keymap "" :gi "<cmd>lua vim.lsp.buf.implementation()<CR>" {:silent true :noremap true})
|
||||
(nvim.set_keymap "" :gr "<cmd>lua vim.lsp.buf.references()<CR>" {:silent true :noremap true})
|
||||
(nvim.set_keymap "" :gs "<cmd>lua vim.lsp.buf.signature_help()<CR>" {:silent true :noremap true})
|
||||
(nvim.set_keymap "" :<leader>e "<cmd>lua vim.lsp.diagnostic.show_line_diagnostics()<CR>" {:silent true :noremap true})
|
||||
|
||||
(lspconfig.rust_analyzer.setup {})
|
||||
(lspconfig.gopls.setup {})
|
||||
|
@ -18,7 +18,8 @@
|
||||
(use :valloric/matchtagalways)
|
||||
|
||||
; util
|
||||
(use :cocopon/vaffle.vim)
|
||||
; (use :cocopon/vaffle.vim)
|
||||
(use :kyazdani42/nvim-tree.lua)
|
||||
(use :jeetsukumaran/vim-buffergator)
|
||||
(use :tpope/vim-fugitive)
|
||||
(use :kana/vim-operator-user)
|
||||
|
@ -4,20 +4,13 @@
|
||||
|
||||
;; theme
|
||||
(global github-theme (require :github-theme))
|
||||
(github-theme.setup {:theme_style :dark})
|
||||
(github-theme.setup {:themeStyle :dark})
|
||||
|
||||
;; buffergator
|
||||
(set nvim.g.buffergator_display_regime "parentdir")
|
||||
|
||||
;; nvim tree
|
||||
(defn open-vaffle []
|
||||
(let [bufname (nvim.fn.bufname "%")]
|
||||
(if (= bufname "")
|
||||
(nvim.fn.vaffle#init)
|
||||
(nvim.fn.vaffle#init (nvim.fn.expand "%:p")))))
|
||||
|
||||
(nu.fn-bridge :OpenVaffle :user.plugin.settings :open-vaffle)
|
||||
(nvim.set_keymap :n :<leader>dd ":call OpenVaffle()<CR>" {:noremap true :silent true})
|
||||
(nvim.set_keymap :n :<leader>dd ":NvimTreeFindFile<CR>" {:noremap true :silent true})
|
||||
|
||||
;; vim-operator-surround
|
||||
(nvim.set_keymap "" :sa "<Plug>(operator-surround-append)" {:silent true})
|
||||
|
Loading…
Reference in New Issue
Block a user