mirror of
https://github.com/pratiktri/dotfiles.git
synced 2026-02-04 16:41:43 +05:30
NeoVim & VIM
- Testing setup through neotest plugin - Spellcheck enabled on markdown and text files - Diagnosis summary through trouble plugin - Code completion keybindings improved - Auto-formatting through conform plugin - Reactjs context aware commenting through nvim-ts-context-commentstring - Auto HTML tag completion through nvim-ts-autotag - CSS color highlight through nvim-highlight-colors - Lualine: breadcrumbs, git status, single line - Auto restore neovim sessions - Better keyboard maps Shell - Aliases now load from .bashrc or .zshrc - Bash & zsh shortcuts to easy open and create projects - zoxide instead of cd when installed - bootstrap.sh shellhardened
This commit is contained in:
33
common/.config/nvim/lua/plugins/coding-reactjs.lua
Normal file
33
common/.config/nvim/lua/plugins/coding-reactjs.lua
Normal file
@@ -0,0 +1,33 @@
|
||||
return {
|
||||
-- Automatically add closing tags for HTML and JSX
|
||||
{
|
||||
"windwp/nvim-ts-autotag",
|
||||
config = function()
|
||||
require("nvim-ts-autotag").setup()
|
||||
end,
|
||||
},
|
||||
|
||||
-- Intelligent commenting on JSX
|
||||
{
|
||||
"JoosepAlviste/nvim-ts-context-commentstring",
|
||||
opts = {
|
||||
options = {
|
||||
enable_autocmd = false,
|
||||
},
|
||||
},
|
||||
config = function()
|
||||
vim.g.skip_ts_context_commentstring_module = true
|
||||
end,
|
||||
},
|
||||
|
||||
-- Highlight colors
|
||||
{
|
||||
"brenoprata10/nvim-highlight-colors",
|
||||
setup = {
|
||||
enable_tailwind = true,
|
||||
},
|
||||
config = function()
|
||||
require("nvim-highlight-colors").setup()
|
||||
end,
|
||||
},
|
||||
}
|
||||
Reference in New Issue
Block a user