update
This commit is contained in:
17
README.md
17
README.md
@@ -8,3 +8,20 @@ Hack Nerd Font installation
|
|||||||
brew install font-hack-nerd-font
|
brew install font-hack-nerd-font
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
## Configure python3 for neovim
|
||||||
|
|
||||||
|
```
|
||||||
|
pip install pynvim
|
||||||
|
```
|
||||||
|
|
||||||
|
validate the python3 support with the command:
|
||||||
|
|
||||||
|
```
|
||||||
|
:echo has("python3") # expected return value is 1
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
|
## Configuration for latex for neovim
|
||||||
|
|
||||||
|
(A guide to supercharged mathematical typesetting)[https://ejmastnak.com/tutorials/vim-latex/intro/]
|
||||||
|
|||||||
@@ -6,6 +6,12 @@ vim.g.loaded_netrwPlugin = 1
|
|||||||
local vim = vim
|
local vim = vim
|
||||||
local Plug = vim.fn['plug#']
|
local Plug = vim.fn['plug#']
|
||||||
|
|
||||||
|
vim.cmd('filetype plugin indent on')
|
||||||
|
vim.cmd('syntax enable')
|
||||||
|
vim.cmd('set nu')
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
vim.call('plug#begin')
|
vim.call('plug#begin')
|
||||||
|
|
||||||
-- file tree
|
-- file tree
|
||||||
@@ -39,8 +45,9 @@ require("nvim-tree").setup({
|
|||||||
})
|
})
|
||||||
|
|
||||||
|
|
||||||
-- config for vimtex
|
require("vimtex").setup({
|
||||||
vim.cmd('filetype plugin indent on')
|
viewer={
|
||||||
vim.cmd('syntax enable')
|
method = 'zathura',
|
||||||
vim.cmd('set nu')
|
},
|
||||||
|
})
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user