-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
120 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
return { | ||
"HiPhish/rainbow-delimiters.nvim" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
return { | ||
-- add dracula | ||
{ "Mofiqul/dracula.nvim" }, | ||
|
||
-- Configure LazyVim to load dracula | ||
{ | ||
"LazyVim/LazyVim", | ||
opts = { | ||
colorscheme = "dracula", | ||
}, | ||
}, | ||
|
||
{ | ||
'nvim-lualine/lualine.nvim', | ||
dependencies = { 'nvim-tree/nvim-web-devicons' }, | ||
config = function() | ||
require('lualine').setup { | ||
options = { | ||
theme = 'dracula-nvim' | ||
} | ||
} | ||
end, | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,36 @@ | ||
return { | ||
"nvim-treesitter/nvim-treesitter", | ||
build = ":TSUpdate", | ||
config = function() | ||
require('nvim-treesitter.configs').setup({ | ||
ensure_installed = { | ||
"python", "lua", "javascript", "bash", "css", | ||
"go", "graphql", "html", "json", "markdown", | ||
"ninja", "svelte", "toml", | ||
"vim", "yaml" | ||
}, | ||
auto_install = false, | ||
sync_install = true, | ||
highlight = { | ||
enable = true, | ||
additional_vim_regex_highlighting = false, | ||
}, | ||
matchup = { | ||
enable = true | ||
}, | ||
indent = { | ||
enable = true | ||
}, | ||
incremental_selection = { | ||
enable = true | ||
}, | ||
autopairs = { | ||
enable = true | ||
}, | ||
rainbow = { | ||
enable = true, | ||
extended_mode = true | ||
} | ||
}) | ||
end | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
-- Telescope | ||
local builtin = require('telescope.builtin') | ||
vim.keymap.set('n', '<leader>ff', builtin.find_files, {}) | ||
vim.keymap.set('n', '<leader>fg', builtin.live_grep, {}) | ||
vim.keymap.set('n', '<leader>fb', builtin.buffers, {}) | ||
vim.keymap.set('n', '<leader>fh', builtin.help_tags, {}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
vim.cmd([[ | ||
" Ruler and lines | ||
set ruler | ||
set number | ||
set colorcolumn=80 | ||
" Spell check | ||
set spell spelllang=en | ||
" Spaces and indents | ||
set softtabstop=-1 | ||
set shiftwidth=0 smarttab | ||
set expandtab | ||
set shiftround | ||
set tabstop=4 softtabstop=0 | ||
set autoindent | ||
" filetype Enable type file detection. Vim will be able to try to detect the type of file in use. | ||
" plugin Enable plugins and load plugin for the detected file type. | ||
" indent Load an indent file for the detected file type. | ||
filetype plugin indent on | ||
" Do not wrap lines. Allow long lines to extend as far as the line goes. | ||
set nowrap | ||
" While searching though a file incrementally highlight matching characters as you type. | ||
set incsearch | ||
" Ignore capital letters during search. | ||
set ignorecase | ||
" Override the ignorecase option if searching for capital letters. | ||
" This will allow you to search specifically for capital letters. | ||
set smartcase | ||
" Do not save backup files. | ||
set nobackup | ||
" Use highlighting when doing a search. | ||
set hlsearch | ||
" Enable auto completion menu after pressing TAB. | ||
set wildmenu | ||
" Make wildmenu behave like similar to Bash completion. | ||
set wildmode=list:longest | ||
" Global config | ||
set hidden | ||
set ttimeoutlen=0 | ||
]]) |