summaryrefslogtreecommitdiff
path: root/.config/nvim
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2021-03-21 22:40:26 +0100
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2021-03-21 22:40:26 +0100
commitbd88c50dd6b4c408c0084e289f278a40692245ca (patch)
tree2f3e2cc7ba7ea5fdb205db764a393d6dd29eeb74 /.config/nvim
parente320bbeda214c6f4f9071e936330c75a3122a311 (diff)
spell check nvim, smaller font alacritty, aliases zsh
Diffstat (limited to '.config/nvim')
-rw-r--r--.config/nvim/init.lua1
-rw-r--r--.config/nvim/lua/_limelight/init.lua0
-rw-r--r--.config/nvim/lua/_peekup/init.lua1
-rw-r--r--.config/nvim/lua/_vim-pydocstring/init.lua2
-rw-r--r--.config/nvim/lua/_vim-pydocstring/init.vim1
-rw-r--r--.config/nvim/lua/colorscheme.lua2
-rw-r--r--.config/nvim/lua/plugins.lua1
-rw-r--r--.config/nvim/spell/en.utf-8.add4
-rw-r--r--.config/nvim/spell/en.utf-8.add.splbin0 -> 62 bytes
9 files changed, 10 insertions, 2 deletions
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
--- /dev/null
+++ b/.config/nvim/lua/_limelight/init.lua
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 = '<leader>"'
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", "<leader>c", ":Pydocstring<CR>", {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
--- /dev/null
+++ b/.config/nvim/spell/en.utf-8.add.spl
Binary files differ