Commit Graph

49 Commits

Author SHA1 Message Date
siduck
c16c22e87b rm title option
fixes (#1653) and this is a cmp issue + only with some terminals
2022-11-17 23:35:28 +05:30
siduck
f77d052d70 change highlight loading function name 2022-11-17 19:26:43 +05:30
siduck
00be26275e keep some gitsigns mappings only | rm 0.7v related stuff 2022-10-07 19:26:07 +05:30
nt
7fe754342a Remove unnecessary comment 2022-08-29 19:50:31 +05:30
siduck
bf827e0ebd fix #1516 #1517
an autocmd can be used for formatoptions and avoid using bw, read the convo at 39c42ca2bf (r82388570)
2022-08-28 09:14:09 +05:30
Akianonymus
fe9a7b1651 core|options: Add formatoptions in options | Remove unnecessary autocmd 2022-08-25 17:44:35 +05:30
Akianonymus
ac0faa4f8b core: options: Remove redundant code
that is shada default behaviour, why it is there ?
2022-08-14 08:52:30 +05:30
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)
2022-07-26 18:01:19 +05:30
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
2022-07-26 13:05:58 +00:00
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 :)
2022-07-26 12:52:57 +05:30
siduck
6a789fa37d breaking change for option overriders | rm un-necessary things from config
Put all your options in custom/init.lua
2022-07-24 07:35:12 +00:00
siduck
6f0aa376a8 set shiftwidth to 2 | format all files
big thanks to @ghifarit53
2022-07-22 16:00:00 +00:00
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)
2022-07-15 09:37:12 +05:30
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
2022-07-12 21:54:25 +05:30
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
2022-06-27 22:19:17 +05:30
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
2022-06-27 22:19:17 +05:30
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
2022-06-19 13:43:11 +05:30
siduck
9bca3eacae clean config | fix (#1225) (#1226) 2022-06-18 09:57:17 +05:30
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
2022-06-14 17:36:27 +05:30
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 2022-06-10 17:24:02 +05:30
siduck
5ee4f93309 clean readme | rm outdated info & update img links 2022-06-09 08:45:28 +05:30
siduck
9e3a43302c rm un-needed code 2022-06-03 12:03:52 +05:30
siduck
88bd63d407 fix #1168 | make disabling of default plugins in options.lua overridable 2022-06-03 01:08:09 +05:30
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
2022-06-01 19:33:11 +05:30
siduck
cb97cef2a7 remove usage of globals for util functions 2022-05-29 16:07:47 +05:30
siduck
2439d2514f add nvchad_theme global in options.lua 2022-05-14 21:27:18 +05:30
Arman.H
5a1240be82 refactor: add utils to the global scope 2022-05-10 20:15:08 +05:30
siduck
b9a1038acd feat: add theme toggle btn | update theme plugin path 2022-05-06 20:14:57 +05:30
siduck
9ae7c2aff3 fix error while closing file (#1002) 2022-05-01 08:01:47 +05:30
siduck
c8df626776
fix (#854) 2022-04-30 15:48:45 +05:30
siduck
db18d5f356 add better way to change default options
check http://localhost:3000/config/Custom%20config#change-default-options
2022-04-28 04:03:48 +05:30
siduck
adecbe719f BREAKING CHANGE | re-implementation of custom config 2022-04-27 21:12:28 +05:30
siduck
4ca8d781cf add option to enable inbuilt plugins (#919) (#914) 2022-03-31 12:52:23 +05:30
siduck
baaa7f0d4b fix (#793) 2022-02-06 10:16:32 +05:30
siduck
3ee787fe08 remove un-needed filetype option 2022-02-02 10:07:49 +05:30
Akianonymus
6b06bb9ed4 Remove duplicate code, missed in d8dabe9 | Format files 2022-01-31 11:13:31 +05:30
zbirenbaum
d8dabe9e5e defer and restore shada 2022-01-31 10:40:36 +05:30
zbirenbaum
bd98d76ad6 improve startup time with shada load deferral 2022-01-31 09:03:20 +05:30
siduck
e8b31c9308 add impatient.nvim and filetype.nvim | improve startuptime 2022-01-29 23:02:23 +05:30
Akianonymus
2293b16709 Cleanup | Format files
* fix some lint warnings
* remove some unneeded code
2021-12-11 11:58:52 +05:30
siduck
01babafd72 add option for fillchars 2021-12-08 12:30:16 +05:30
siduck
c8a27d701c cleanup! 2021-11-13 21:59:31 +05:30
Andrew Balmos
67962828bb Add smartcase option 2021-10-22 05:47:54 +05:30
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.
2021-10-09 17:45:12 +05:30
siduck76
f65338092d feat : window title option 2021-09-26 18:47:12 +05:30
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
2021-09-24 19:11:55 +05:30
siduck76
475a4c5f38 replace compe with cmp 2021-08-27 06:44:58 +05:30
Akianonymus
e08a460543 config: Expose tabstop option 2021-08-22 17:54:10 +05:30
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
2021-08-22 17:54:10 +05:30