Added nvim lua config
This commit is contained in:
parent
b3115466a5
commit
2e8f00d17d
2 changed files with 30 additions and 0 deletions
26
nvim/init.lua
Normal file
26
nvim/init.lua
Normal file
|
@ -0,0 +1,26 @@
|
||||||
|
vim.opt.number = true
|
||||||
|
vim.opt.relativenumber = true
|
||||||
|
vim.opt.ignorecase = true
|
||||||
|
vim.opt.tabstop = 2
|
||||||
|
vim.opt.shiftwidth = 2
|
||||||
|
vim.opt.expandtab = true
|
||||||
|
|
||||||
|
require'nvim-treesitter.configs'.setup {
|
||||||
|
ensure_installed = { "c", "lua", "kotlin", "javascript", "typescript" },
|
||||||
|
highlight = {
|
||||||
|
enable = true,
|
||||||
|
additional_vim_regex_highlighting = false,
|
||||||
|
},
|
||||||
|
}
|
||||||
|
|
||||||
|
return require('packer').startup(function(use)
|
||||||
|
use 'wbthomason/packer.nvim'
|
||||||
|
use {
|
||||||
|
'nvim-treesitter/nvim-treesitter',
|
||||||
|
run = function()
|
||||||
|
local ts_update = require('nvim-treesitter.install').update({ with_sync = true })
|
||||||
|
ts_update()
|
||||||
|
end,
|
||||||
|
}
|
||||||
|
end)
|
||||||
|
|
|
@ -21,11 +21,15 @@ symbol = " "
|
||||||
[conda]
|
[conda]
|
||||||
symbol = " "
|
symbol = " "
|
||||||
|
|
||||||
|
[cmd_duration]
|
||||||
|
style = "bold purple"
|
||||||
|
|
||||||
[dart]
|
[dart]
|
||||||
symbol = " "
|
symbol = " "
|
||||||
|
|
||||||
[directory]
|
[directory]
|
||||||
read_only = " "
|
read_only = " "
|
||||||
|
style = "bold blue"
|
||||||
|
|
||||||
[docker_context]
|
[docker_context]
|
||||||
symbol = " "
|
symbol = " "
|
||||||
|
|
Loading…
Reference in a new issue