Compare commits
3 Commits
bfd569b102
...
766fd78e81
Author | SHA1 | Date | |
---|---|---|---|
766fd78e81 | |||
60b783b822 | |||
8d3952ec91 |
@ -64,9 +64,9 @@
|
||||
(set nvim.o.termguicolors true)
|
||||
|
||||
; neovide
|
||||
(set nvim.g.neovide_fullscreen true)
|
||||
; (set nvim.g.neovide_fullscreen true)
|
||||
(set nvim.g.neovide_cursor_vfx_mode "pixiedust")
|
||||
(set nvim.o.guifont "FiraCode Nerd Font Mono:h20")
|
||||
(set nvim.o.guifont "FiraCode Nerd Font Mono:h16")
|
||||
|
||||
(require "plugins")
|
||||
(require "settings")
|
||||
|
16
fnl/lsp.fnl
16
fnl/lsp.fnl
@ -14,14 +14,14 @@
|
||||
(lspconfig.rust_analyzer.setup {})
|
||||
(lspconfig.gopls.setup {})
|
||||
(lspconfig.denols.setup {})
|
||||
(lspconfig.sourcekit.setup {})
|
||||
(lspconfig.ccls.setup
|
||||
{:init_options {:clang {:extraArgs ["-I/usr/local/include"
|
||||
"-I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1"
|
||||
"-I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.0/include"
|
||||
"-I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include"
|
||||
"-I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include"
|
||||
"-I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks"]}}})
|
||||
; (lspconfig.sourcekit.setup {})
|
||||
; (lspconfig.ccls.setup
|
||||
; {:init_options {:clang {:extraArgs ["-I/usr/local/include"
|
||||
; "-I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1"
|
||||
; "-I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.0/include"
|
||||
; "-I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include"
|
||||
; "-I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include"
|
||||
; "-I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks"]}}})
|
||||
|
||||
(treesitter.setup {:ensure_installed ["c" "cpp" "python" "go" "rust" "javascript" "lua"]
|
||||
:highlight {:enable true}
|
||||
|
@ -21,8 +21,7 @@
|
||||
(use :cocopon/vaffle.vim)
|
||||
(use :jeetsukumaran/vim-buffergator)
|
||||
(use :tpope/vim-fugitive)
|
||||
(use :kana/vim-operator-user)
|
||||
(use :rhysd/vim-operator-surround)
|
||||
(use :blackCauldron7/surround.nvim)
|
||||
(use :chaoren/vim-wordmotion)
|
||||
(use :b3nj5m1n/kommentary)
|
||||
(use :nelstrom/vim-visual-star-search)
|
||||
|
@ -24,6 +24,12 @@
|
||||
(nvim.set_keymap "" :sd "<Plug>(operator-surround-delete)" {:silent true})
|
||||
(nvim.set_keymap "" :sr "<Plug>(operator-surround-replace)" {:silent true})
|
||||
|
||||
;; surround.nvim
|
||||
(global surround (require :surround))
|
||||
(surround.setup
|
||||
{:mappings_style "sandwich"
|
||||
})
|
||||
|
||||
;; kommentary
|
||||
(global kommentary (require :kommentary.config))
|
||||
(kommentary.configure_language :default {:prefer_single_line_comments true})
|
||||
|
Loading…
Reference in New Issue
Block a user