default-config.lua 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201
  1. CONFIG_PATH = vim.fn.stdpath('config')
  2. DATA_PATH = vim.fn.stdpath('data')
  3. CACHE_PATH = vim.fn.stdpath('cache')
  4. O = {
  5. auto_close_tree = 0,
  6. auto_complete = true,
  7. colorscheme = 'lunar',
  8. hidden_files = true,
  9. wrap_lines = false,
  10. number = true,
  11. relative_number = true,
  12. cursorline = true,
  13. shell = 'bash',
  14. timeoutlen = 100,
  15. nvim_tree_disable_netrw = 0,
  16. extras = false,
  17. ignore_case = true,
  18. smart_case = true,
  19. -- @usage pass a table with your desired languages
  20. treesitter = {
  21. ensure_installed = "all",
  22. ignore_install = {"haskell"},
  23. highlight = {enabled = true},
  24. rainbow = {enabled = false}
  25. },
  26. database = {save_location = '~/.config/nvcode_db', auto_execute = 1},
  27. plugin = {
  28. hop = {active = false},
  29. dial = {active = false},
  30. dashboard = {active = false},
  31. matchup = {active = false},
  32. colorizer = {active = false},
  33. numb = {active = false},
  34. zen = {active = false},
  35. ts_playground = {active = false},
  36. indent_line = {active = false},
  37. ts_context_commentstring = {active = false},
  38. symbol_outline = {active = false},
  39. debug = {active = false},
  40. bqf = {active = false},
  41. trouble = {active = false},
  42. floatterm = {active = false},
  43. spectre = {active = false},
  44. lsp_rooter = {active = false},
  45. markdown_preview = {active = false},
  46. codi = {active = false},
  47. telescope_fzy = {active = false},
  48. sanegx = {active = false},
  49. todo_comments = {active = false},
  50. lsp_colors = {active = false},
  51. git_blame = {active = false},
  52. gist = {active = false},
  53. gitlinker = {active = false},
  54. lazygit = {active = false},
  55. octo = {active = false},
  56. diffview = {active = false},
  57. bracey = {active = false},
  58. telescope_project = {active = false}
  59. },
  60. lang = {
  61. python = {
  62. active = false,
  63. linter = '',
  64. -- @usage can be 'yapf', 'black'
  65. formatter = '',
  66. autoformat = false,
  67. isort = false,
  68. diagnostics = {
  69. virtual_text = {spacing = 0, prefix = ""},
  70. signs = true,
  71. underline = true
  72. },
  73. analysis = {
  74. type_checking = "basic",
  75. auto_search_paths = true,
  76. use_library_code_types = true
  77. }
  78. },
  79. dart = {
  80. active = false,
  81. sdk_path = '/usr/lib/dart/bin/snapshots/analysis_server.dart.snapshot'
  82. },
  83. lua = {
  84. active = false,
  85. -- @usage can be 'lua-format'
  86. formatter = '',
  87. autoformat = false,
  88. diagnostics = {
  89. virtual_text = {spacing = 0, prefix = ""},
  90. signs = true,
  91. underline = true
  92. }
  93. },
  94. sh = {
  95. active = false,
  96. -- @usage can be 'shellcheck'
  97. linter = '',
  98. -- @usage can be 'shfmt'
  99. formatter = '',
  100. autoformat = false,
  101. diagnostics = {
  102. virtual_text = {spacing = 0, prefix = ""},
  103. signs = true,
  104. underline = true
  105. }
  106. },
  107. tsserver = {
  108. active = false,
  109. -- @usage can be 'eslint'
  110. linter = '',
  111. -- @usage can be 'prettier'
  112. formatter = '',
  113. autoformat = false,
  114. diagnostics = {
  115. virtual_text = {spacing = 0, prefix = ""},
  116. signs = true,
  117. underline = true
  118. }
  119. },
  120. json = {
  121. active = false,
  122. -- @usage can be 'prettier'
  123. formatter = '',
  124. autoformat = false,
  125. diagnostics = {
  126. virtual_text = {spacing = 0, prefix = ""},
  127. signs = true,
  128. underline = true
  129. }
  130. },
  131. tailwindcss = {
  132. active = false,
  133. filetypes = {
  134. 'html', 'css', 'scss', 'javascript', 'javascriptreact',
  135. 'typescript', 'typescriptreact'
  136. }
  137. },
  138. clang = {
  139. active = false,
  140. diagnostics = {
  141. virtual_text = {spacing = 0, prefix = ""},
  142. signs = true,
  143. underline = true
  144. }
  145. },
  146. ruby = {
  147. active = false,
  148. diagnostics = {
  149. virtualtext = {spacing = 0, prefix = ""},
  150. signs = true,
  151. underline = true
  152. },
  153. filetypes = {'rb', 'erb', 'rakefile'}
  154. },
  155. go = {active = false},
  156. elixir = {active = false},
  157. vim = {active = false},
  158. yaml = {active = false},
  159. terraform = {active = false},
  160. rust = {active = false},
  161. svelte = {active = false},
  162. php = {active = false},
  163. latex = {active = false},
  164. kotlin = {active = false},
  165. html = {active = false},
  166. elm = {active = false},
  167. emmet = {active = false},
  168. graphql = {active = false},
  169. efm = {active = true},
  170. docker = {active = false},
  171. cmake = {active = false},
  172. java = {active = false},
  173. css = {
  174. active = false,
  175. formatter = '',
  176. autoformat = false,
  177. virtual_text = true
  178. }
  179. },
  180. dashboard = {
  181. custom_header = {
  182. ' _..._ ',
  183. ' .\' (_`. _ __ ___ ',
  184. ' : . : | | _ _ _ __ __ _ _ _\\ \\ / (_)_ __ ___ ',
  185. ' :) () : | | | | | | \'_ \\ / _` | \'__\\ \\ / /| | \'_ ` _ \\ ',
  186. ' `. . .\' | |__| |_| | | | | (_| | | \\ V / | | | | | | |',
  187. ' `-...-\' |_____\\__,_|_| |_|\\__,_|_| \\_/ |_|_| |_| |_|'
  188. },
  189. footer = {'chrisatmachine.com'}
  190. }
  191. }