48 Commits (65eab4535c1a01521705f27eebabbb6a9ab92fcb)

Author SHA1 Message Date
siduck 65eab4535c rm title option
fixes (#1653) and this is a cmp issue + only with some terminals
2 years ago
siduck 00be26275e keep some gitsigns mappings only | rm 0.7v related stuff 2 years ago
nt 7fe754342a Remove unnecessary comment 2 years ago
siduck bf827e0ebd fix #1516 #1517
an autocmd can be used for formatoptions and avoid using bw, read the convo at 39c42ca2bf (r82388570)
2 years ago
Akianonymus fe9a7b1651 core|options: Add formatoptions in options | Remove unnecessary autocmd 2 years ago
Akianonymus ac0faa4f8b core: options: Remove redundant code
that is shada default behaviour, why it is there ?
2 years ago
tomasky 817aeea9a1 fix(0.8): 🐛 update session data dir in neovim nightly
Nvim now stores "session data" (shada, persistent undo, ...) in $XDG_STATE_HOME (~/.local/state)
2 years ago
siduck 429ce94da1 store vim version in global for v0.8 compatibility checks
so we dont have to run vim.version() function in many places of the config cuz we will be making nvchad 0.8 compatible too bit by bit
2 years ago
ahhshm a522cebca8 fix(options): don't set `did_load_filetypes` in neovim nightly
Lua filetype detection is enabled by default in neovim nightly so we don't need those two options. The reason we can't simply override them in `custom/init.lua` is that setting `did_load_filetypes` to any value, completely disables filetype detection (and therefore syntax highlighting) and this may confuse people that use neovim nightly. I know NvChad doesn't officially support neovim nightly but people may want to try it to see the new features and this PR makes their life easier. Also, you do a similar check in `plugins/configs/lspconfig.lua` so I thought it's ok :)
2 years ago
siduck 6a789fa37d breaking change for option overriders | rm un-necessary things from config
Put all your options in custom/init.lua
2 years ago
siduck 6f0aa376a8 set shiftwidth to 2 | format all files
big thanks to @ghifarit53
2 years ago
siduck 74f2efca9f BREAKING Change for statusline_separator & tabufline overriders
moved statusline & tabufline into a new plugin to keep the base config clean and fix issues like (#1307)
2 years ago
siduck 5339bc42ae clean stuff
remove vim tsparser as it is adviced to have 100% lua config and vim.cmd adds a lil overhead as compared to native vim api functions, increase shiftwidth as it looks better
2 years ago
McAuley Penney 9ccc95ea6c refactor: remove python2 provider
• since neovim/neovim@baec0d3152
      python2 support has been removed. The
      Python provider for Python2 no longer
      exists on v0.7 and newer
2 years ago
McAuley Penney aef0a987cc fix: providers are not disabled
• problem: providers are incorrectly disabled
    • why: providers must be disabled by
           setting their global value to 0,
           unlike default plugins.

    • solution: disable built-in providers by
                setting their values to 0
                instead of 1
2 years ago
siduck 4f1ee6ec8f Breaking change for statusline_separator field users | optimize statusline & make it overridable
added cmd fields for various plugins for example lspinstaller+lspconfig gets loaded only when a file opened but their commands can be run before a file is opened so I additionally lazy loaded them on their cmds too
2 years ago
siduck 9bca3eacae clean config | fix (#1225) (#1226) 2 years ago
siduck 0bde81a074 Improve startuptime | remove un-needed plugins | lazy load plugin highlights too
removed nvim-gps as nvim-navic or winbar.nvim will be added when v0.8 neovim releases. Removed lsp signature as I was able to emulate showing args with the default signature help() window
2 years ago
siduck 5b37cb5875 fix #1188 | remove options that already have default vim values | remove better-escape.nvim as it feels un-needed, ESC or Ctrl c can be used for escaping normal mode or just map jk to ESC 2 years ago
siduck 5ee4f93309 clean readme | rm outdated info & update img links 2 years ago
siduck 9e3a43302c rm un-needed code 2 years ago
siduck 88bd63d407 fix #1168 | make disabling of default plugins in options.lua overridable 2 years ago
siduck 77c1287db8 add global for transparency and fix (#1164)
vim matchup was causing #1164 as we lazy load it and its a lil high on startup so I removed it, gotta wait till v0.8 releases and then we could use winbar.nvim instead
2 years ago
siduck cb97cef2a7 remove usage of globals for util functions 2 years ago
siduck 2439d2514f add nvchad_theme global in options.lua 2 years ago
Arman.H 5a1240be82 refactor: add utils to the global scope 2 years ago
siduck b9a1038acd feat: add theme toggle btn | update theme plugin path 2 years ago
siduck 9ae7c2aff3 fix error while closing file (#1002) 2 years ago
siduck c8df626776
fix (#854) 2 years ago
siduck db18d5f356 add better way to change default options
check http://localhost:3000/config/Custom%20config#change-default-options
2 years ago
siduck adecbe719f BREAKING CHANGE | re-implementation of custom config 2 years ago
siduck 4ca8d781cf add option to enable inbuilt plugins (#919) (#914) 2 years ago
siduck baaa7f0d4b fix (#793) 2 years ago
siduck 3ee787fe08 remove un-needed filetype option 2 years ago
Akianonymus 6b06bb9ed4 Remove duplicate code, missed in d8dabe9 | Format files 2 years ago
zbirenbaum d8dabe9e5e defer and restore shada 2 years ago
zbirenbaum bd98d76ad6 improve startup time with shada load deferral 2 years ago
siduck e8b31c9308 add impatient.nvim and filetype.nvim | improve startuptime 2 years ago
Akianonymus 2293b16709 Cleanup | Format files
* fix some lint warnings
* remove some unneeded code
2 years ago
siduck 01babafd72 add option for fillchars 2 years ago
siduck c8a27d701c cleanup! 3 years ago
Andrew Balmos 67962828bb Add smartcase option 3 years ago
Ay355 cb977a5313 fix: use of left/right arrow keys in insert mode
This allows the left and right arrows to move between lines in insert mode.
3 years ago
siduck76 f65338092d feat : window title option 3 years ago
Galen Rowell 9961cc0113 refactor: clean & re-organise default_config + chadrc
this completely overhauls the design of the two configuration files,
aiming to move options & various tables into a more sensible table structure

BREAKING CHANGE: this will break any user modificiations to the current
config
3 years ago
siduck76 475a4c5f38 replace compe with cmp 3 years ago
Akianonymus e08a460543 config: Expose tabstop option 3 years ago
Akianonymus 9ffddb6b52 Restructure config | Move some to a packer plugin | Lot of cleanup
* move teleacope files, updater and related utils to
  https://github.com/NvChad/core

* restructure config file and directory structure

* expose mappings for better escape

* allow multiple mappings for some

* improve merge table function for the same

* move autocommands to a seperate file

* rearrange everything alphabetically where sanely possible

* rearrange packer plugin list on the basis of trigerred state

config structure now

 .
├──  init.lua
├──  LICENSE
├──  lua
│  ├──  chadrc.lua
│  ├──  colors
│  │  ├──  highlights.lua
│  │  ├──  init.lua
│  │  └──  themes
│  │     ├──  chadracula.lua
│  │     ├──  everforest.lua
│  │     ├──  gruvchad.lua
│  │     ├──  javacafe.lua
│  │     ├──  mountain.lua
│  │     ├──  norchad.lua
│  │     ├──  one-light.lua
│  │     ├──  onedark.lua
│  │     ├──  tokyonight.lua
│  │     └──  tomorrow-night.lua
│  ├──  core
│  │  ├──  autocmds.lua
│  │  ├──  init.lua
│  │  ├──  mappings.lua
│  │  ├──  options.lua
│  │  └──  utils.lua
│  ├──  default_config.lua
│  └──  plugins
│     ├──  configs
│     │  ├──  autopairs.lua
│     │  ├──  autosave.lua
│     │  ├──  bufferline.lua
│     │  ├──  chadsheet.lua
│     │  ├──  compe.lua
│     │  ├──  dashboard.lua
│     │  ├──  gitsigns.lua
│     │  ├──  icons.lua
│     │  ├──  lspconfig.lua
│     │  ├──  luasnip.lua
│     │  ├──  nvimtree.lua
│     │  ├──  others.lua
│     │  ├──  statusline.lua
│     │  ├──  telescope.lua
│     │  ├──  treesitter.lua
│     │  └──  zenmode.lua
│     ├──  init.lua
│     └──  packerInit.lua
└──  README.md
3 years ago