Skip to content

Commit

Permalink
Add vim parser to treesitter.
Browse files Browse the repository at this point in the history
  • Loading branch information
miltonllera committed Jan 6, 2023
1 parent 96bb7ae commit 3c78af8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lua/options.lua
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ vim.o.mouse = 'a'
-- Vim specific
vim.o.hidden = true -- Do not save when switching buffers
vim.o.fileencoding = "utf-8"
vim.o.spell = true -- As of v0.8.0 it only checks comments
vim.o.spell = false -- As of v0.8.0 it only checks comments
vim.o.spelllang = "en_us"
vim.o.completeopt = "menuone,noinsert,noselect"
vim.o.wildmode = "longest,full" -- Display auto-complete in Command Mode
Expand All @@ -43,7 +43,7 @@ vim.g.do_file_type_lua = 1
-- vim.g.loaded_netrwPlugin = false -- I can't remember what the issue was with this option

-- Python providers
local pynvim_env = "/.local/bin/pyenv/versions/pynvim/"
local pynvim_env = os.getenv("HOME").."/.local/bin/pyenv/versions/pynvim/"
vim.g.python3_host_prog = os.getenv("HOME")..pynvim_env.."/bin/python"
vim.g.black_virtualenv = os.getenv("HOME")..pynvim_env

Expand Down
1 change: 1 addition & 0 deletions lua/plugins/treesitter.lua
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,6 @@ require('nvim-treesitter.configs').setup({
"lua",
"python",
"yaml",
"vim",
},
})

0 comments on commit 3c78af8

Please sign in to comment.