From bd88c50dd6b4c408c0084e289f278a40692245ca Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Sun, 21 Mar 2021 22:40:26 +0100 Subject: spell check nvim, smaller font alacritty, aliases zsh --- .config/nvim/init.lua | 1 + .config/nvim/lua/_limelight/init.lua | 0 .config/nvim/lua/_peekup/init.lua | 1 + .config/nvim/lua/_vim-pydocstring/init.lua | 2 ++ .config/nvim/lua/_vim-pydocstring/init.vim | 1 - .config/nvim/lua/colorscheme.lua | 2 +- .config/nvim/lua/plugins.lua | 1 + .config/nvim/spell/en.utf-8.add | 4 ++++ .config/nvim/spell/en.utf-8.add.spl | Bin 0 -> 62 bytes 9 files changed, 10 insertions(+), 2 deletions(-) create mode 100644 .config/nvim/lua/_limelight/init.lua create mode 100644 .config/nvim/lua/_peekup/init.lua create mode 100644 .config/nvim/lua/_vim-pydocstring/init.lua delete mode 100644 .config/nvim/lua/_vim-pydocstring/init.vim create mode 100644 .config/nvim/spell/en.utf-8.add create mode 100644 .config/nvim/spell/en.utf-8.add.spl (limited to '.config/nvim') diff --git a/.config/nvim/init.lua b/.config/nvim/init.lua index 0e5e099..c10ec24 100644 --- a/.config/nvim/init.lua +++ b/.config/nvim/init.lua @@ -26,6 +26,7 @@ require('_startify') require('_treesitter') require('_vim-rooter') require('_vim-bbye') +require('_vim-pydocstring') require('_peekup') -- bufferline and statusline diff --git a/.config/nvim/lua/_limelight/init.lua b/.config/nvim/lua/_limelight/init.lua new file mode 100644 index 0000000..e69de29 diff --git a/.config/nvim/lua/_peekup/init.lua b/.config/nvim/lua/_peekup/init.lua new file mode 100644 index 0000000..a58ef76 --- /dev/null +++ b/.config/nvim/lua/_peekup/init.lua @@ -0,0 +1 @@ +vim.g.peekup_open = '"' diff --git a/.config/nvim/lua/_vim-pydocstring/init.lua b/.config/nvim/lua/_vim-pydocstring/init.lua new file mode 100644 index 0000000..abbbfbe --- /dev/null +++ b/.config/nvim/lua/_vim-pydocstring/init.lua @@ -0,0 +1,2 @@ +vim.g.pydocstring_formatter = 'google' +vim.api.nvim_set_keymap("n", "c", ":Pydocstring", {noremap=true, silent = true}) diff --git a/.config/nvim/lua/_vim-pydocstring/init.vim b/.config/nvim/lua/_vim-pydocstring/init.vim deleted file mode 100644 index e3d5311..0000000 --- a/.config/nvim/lua/_vim-pydocstring/init.vim +++ /dev/null @@ -1 +0,0 @@ -let g:pydocstring_formatter = 'google' diff --git a/.config/nvim/lua/colorscheme.lua b/.config/nvim/lua/colorscheme.lua index 7758392..35acc1c 100644 --- a/.config/nvim/lua/colorscheme.lua +++ b/.config/nvim/lua/colorscheme.lua @@ -4,4 +4,4 @@ vim.api.nvim_command([[ augroup END ]]) vim.cmd('colorscheme githubsy') -vim.cmd('let g:nvcode_termcolors=256') +-- vim.cmd('let g:nvcode_termcolors=256') diff --git a/.config/nvim/lua/plugins.lua b/.config/nvim/lua/plugins.lua index 7687b1f..0bef8da 100644 --- a/.config/nvim/lua/plugins.lua +++ b/.config/nvim/lua/plugins.lua @@ -103,5 +103,6 @@ return require('packer').startup(function() use 'junegunn/goyo.vim' use 'junegunn/limelight.vim' use 'vimwiki/vimwiki' + use {'heavenshell/vim-pydocstring', run = 'make install'} end) diff --git a/.config/nvim/spell/en.utf-8.add b/.config/nvim/spell/en.utf-8.add new file mode 100644 index 0000000..18b8b6e --- /dev/null +++ b/.config/nvim/spell/en.utf-8.add @@ -0,0 +1,4 @@ +emnist +json +num +np diff --git a/.config/nvim/spell/en.utf-8.add.spl b/.config/nvim/spell/en.utf-8.add.spl new file mode 100644 index 0000000..a68894b Binary files /dev/null and b/.config/nvim/spell/en.utf-8.add.spl differ -- cgit v1.2.3-70-g09d2