Merge branch 'neovim-0.5.0' of github.com:esensar/dotfiles into neovim-0.5.0

pull/1/head
Ensar Sarajčić 2021-03-30 16:17:53 +02:00
commit 379994c85f
4 changed files with 23 additions and 9 deletions

View File

@ -43,6 +43,8 @@ flutter/
ibus
pulse
discord
lutris
cef_user_data
QtProject.conf
QtProject/

View File

@ -1,9 +1,5 @@
# Folder for emails
set folder = "~/.mail"
# Mailbox type
set mbox_type = Maildir
# Directory to pool for new mail
set spoolfile = +Inbox
# Directory to save sent messages into
set record = +Sent
# Directory to save drafts into
@ -27,3 +23,16 @@ auto_view text/html
# Order to try and show multipart emails
alternative_order text/plain text/enriched text/html
set editor = "vim"
source accounts/personal
# Mailbox type
set mbox_type = Maildir
# Directory to pool for new mail
set spoolfile = +Inbox
mailboxes = +Inbox
set imap_check_subscribed
source /usr/share/doc/neomutt/vim-keys/vim-keys.rc
macro index,pager A "<save-message>=Archive<enter>" "Archive Message"

View File

@ -0,0 +1,2 @@
setlocal ts=2 sts=2 sw=2 expandtab autoindent
let b:undo_ftplugin .= '|setlocal ts< sts< sw< expandtab< autoindent<'

View File

@ -7,16 +7,17 @@ let g:ale_disable_lsp = 1 " Disable LSP, we have other stuff for that
let g:ale_fix_on_save = 1 " Default
" ALE Linters configuration
let g:ale_linters = {}
let g:ale_linters.python = ['flake8']
let g:ale_linters.kotlin = ['ktlint']
let g:ale_linters = {}
let g:ale_linters.python = ['flake8']
let g:ale_linters.kotlin = ['ktlint']
let g:ale_linters.clojure = ['clj-kondo']
" ALE Fixers configuration
let g:ale_fixers = {}
let g:ale_fixers['*'] = ['remove_trailing_lines', 'trim_whitespace']
let g:ale_fixers.python = ['autopep8', 'isort']
let g:ale_fixers.dart = ['dartfmt']
let g:ale_fixers.lua = ['luafmt']
let g:ale_fixers.dart = ['dartfmt']
let g:ale_fixers.lua = ['luafmt']
" Warnings navigation
nmap <silent> [W <Plug>(ale_first)