Compare commits
No commits in common. "dd0c879db67a833dfb3c13aba09705bcd2fbc715" and "bd3bfa42aa5d394782ef17db6942a4c67d4edbd6" have entirely different histories.
dd0c879db6
...
bd3bfa42aa
6
.gitignore
vendored
6
.gitignore
vendored
@ -1,6 +0,0 @@
|
|||||||
lc.log
|
|
||||||
|
|
||||||
lua/*.lua
|
|
||||||
!lua/plugins.lua
|
|
||||||
|
|
||||||
plugin/
|
|
@ -46,12 +46,6 @@
|
|||||||
(set nvim.o.expandtab true)
|
(set nvim.o.expandtab true)
|
||||||
(set nvim.bo.expandtab true)
|
(set nvim.bo.expandtab true)
|
||||||
|
|
||||||
(set nvim.o.breakindent true)
|
|
||||||
(set nvim.wo.breakindent true)
|
|
||||||
|
|
||||||
(set nvim.o.linebreak true)
|
|
||||||
(set nvim.wo.linebreak true)
|
|
||||||
|
|
||||||
(set nvim.o.number true)
|
(set nvim.o.number true)
|
||||||
(set nvim.wo.number true)
|
(set nvim.wo.number true)
|
||||||
|
|
||||||
|
@ -19,17 +19,3 @@
|
|||||||
(nvim.set_keymap "" :sa "<Plug>(operator-surround-append)" {:silent true})
|
(nvim.set_keymap "" :sa "<Plug>(operator-surround-append)" {:silent true})
|
||||||
(nvim.set_keymap "" :sd "<Plug>(operator-surround-delete)" {:silent true})
|
(nvim.set_keymap "" :sd "<Plug>(operator-surround-delete)" {:silent true})
|
||||||
(nvim.set_keymap "" :sr "<Plug>(operator-surround-replace)" {:silent true})
|
(nvim.set_keymap "" :sr "<Plug>(operator-surround-replace)" {:silent true})
|
||||||
|
|
||||||
;; language-client neovim
|
|
||||||
(set nvim.g.LanguageClient_loggingFile "/Users/lap12003/.config/nvim/lc.log")
|
|
||||||
(set nvim.g.LanguageClient_serverCommands
|
|
||||||
{:c ["ccls"]
|
|
||||||
:cpp ["ccls"]
|
|
||||||
:objc ["ccls"]
|
|
||||||
:objcpp ["ccls"]
|
|
||||||
:go ["gopls"]
|
|
||||||
:rust ["rls"]})
|
|
||||||
|
|
||||||
(nvim.set_keymap "" :gd "<Plug>(lcn-definition)" {:silent true})
|
|
||||||
(nvim.set_keymap "" :gh "<Plug>(lcn-hover)" {:silent true})
|
|
||||||
(nvim.set_keymap "" :gr "<Plug>(lcn-references)" {:silent true})
|
|
||||||
|
4
init.lua
4
init.lua
@ -3,7 +3,3 @@ vim.g['aniseed#env'] = true
|
|||||||
vim.g.polyglot_disabled = {"markdown", "javascript"}
|
vim.g.polyglot_disabled = {"markdown", "javascript"}
|
||||||
|
|
||||||
require('plugins')
|
require('plugins')
|
||||||
|
|
||||||
require('kommentary.config').configure_language("default", {
|
|
||||||
prefer_single_line_comments = true,
|
|
||||||
})
|
|
||||||
|
@ -48,18 +48,10 @@ packer.startup(function(use)
|
|||||||
use 'kana/vim-operator-user'
|
use 'kana/vim-operator-user'
|
||||||
use 'rhysd/vim-operator-surround'
|
use 'rhysd/vim-operator-surround'
|
||||||
use 'chaoren/vim-wordmotion'
|
use 'chaoren/vim-wordmotion'
|
||||||
use 'b3nj5m1n/kommentary'
|
|
||||||
|
|
||||||
use 'nelstrom/vim-visual-star-search'
|
use 'nelstrom/vim-visual-star-search'
|
||||||
|
|
||||||
use 'wakatime/vim-wakatime'
|
use 'wakatime/vim-wakatime'
|
||||||
|
|
||||||
use 'sheerun/vim-polyglot'
|
use 'sheerun/vim-polyglot'
|
||||||
use 'rescript-lang/vim-rescript'
|
|
||||||
|
|
||||||
use {
|
|
||||||
'autozimu/LanguageClient-neovim',
|
|
||||||
branch = 'next',
|
|
||||||
run = 'bash install.sh'
|
|
||||||
}
|
|
||||||
end)
|
end)
|
||||||
|
Loading…
Reference in New Issue
Block a user