This commit is contained in:
Wenwen Zhang 2024-06-02 17:27:16 +08:00
parent 3b65459b30
commit 5f75d60ced
2 changed files with 28 additions and 4 deletions

View File

@ -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/]

View File

@ -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') },
})