Format and fix colorcolumn

This commit is contained in:
Proctor
2022-07-19 19:33:33 -05:00
parent 954340c183
commit 629463b335
2 changed files with 32 additions and 33 deletions

View File

@@ -51,37 +51,37 @@
(def- val-based-opts (def- val-based-opts
{ {
; :t_Co 256 ; :t_Co 256
:laststatus 2 :laststatus 2
:encoding "utf-8" :encoding "utf-8"
:history 500 :history 500
:redrawtime 5000 :redrawtime 5000
:scrolloff 3 :scrolloff 3
:guifont "Hasklig" :guifont "Hasklig"
:background "dark" :background "dark"
:backupdir backup-dir :backupdir backup-dir
:directory backup-dir ;Don't clutter my dirs up with swp and tmp files :directory backup-dir ;Don't clutter my dirs up with swp and tmp files
:grepprg "ag --nocolor --nogroup --hidden --smart-case" ; Use Silver Searcher instead of grep :grepprg "ag --nocolor --nogroup --hidden --smart-case" ; Use Silver Searcher instead of grep
:tags "tags" :tags "tags"
:updatetime 300 ; per coc.vim for diagnostic messages :updatetime 300 ; per coc.vim for diagnostic messages
:signcolumn "auto:1-3" :signcolumn "auto:1-3"
:colorcolumn 80 :colorcolumn [80 100]
:cmdheight 2 ; Better display for messages :cmdheight 2 ; Better display for messages
:undodir undo-dir :undodir undo-dir
:undolevels 1000 :undolevels 1000
:undoreload 10000 :undoreload 10000
:foldmethod "expr" :foldmethod "expr"
:foldexpr "nvim_treesitter#foldexpr()" :foldexpr "nvim_treesitter#foldexpr()"
:foldlevelstart 100 :foldlevelstart 100
:foldlevel 99 :foldlevel 99
:tabstop 2 :tabstop 2
:shiftwidth 2 :shiftwidth 2
:softtabstop 2 :softtabstop 2
:list true :list true
:listchars "tab:➥\\ ,trail:·," :listchars "tab:➥\\ ,trail:·,"
:backspace "indent,eol,start" ;allow backspacing over everything in insert mode :backspace "indent,eol,start" ;allow backspacing over everything in insert mode
:wildmode "list:longest,list:full" :wildmode "list:longest,list:full"
:wrap false :wrap false
}) })
(defn- set-opt (defn- set-opt

View File

@@ -4,8 +4,7 @@
u dotfiles.util u dotfiles.util
nvim aniseed.nvim nvim aniseed.nvim
nu aniseed.nvim.util nu aniseed.nvim.util
} }})
})
(defn bufmap [mode from to] (defn bufmap [mode from to]
(u.noremap mode from to {:local? true})) (u.noremap mode from to {:local? true}))