default-config.lua 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200
  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. gitlinker = {active = false},
  53. lazygit = {active = false},
  54. octo = {active = false},
  55. diffview = {active = false},
  56. bracey = {active = false},
  57. telescope_project = {active = false}
  58. },
  59. lang = {
  60. python = {
  61. active = false,
  62. linter = '',
  63. -- @usage can be 'yapf', 'black'
  64. formatter = '',
  65. autoformat = false,
  66. isort = false,
  67. diagnostics = {
  68. virtual_text = {spacing = 0, prefix = ""},
  69. signs = true,
  70. underline = true
  71. },
  72. analysis = {
  73. type_checking = "basic",
  74. auto_search_paths = true,
  75. use_library_code_types = true
  76. }
  77. },
  78. dart = {
  79. active = false,
  80. sdk_path = '/usr/lib/dart/bin/snapshots/analysis_server.dart.snapshot'
  81. },
  82. lua = {
  83. active = false,
  84. -- @usage can be 'lua-format'
  85. formatter = '',
  86. autoformat = false,
  87. diagnostics = {
  88. virtual_text = {spacing = 0, prefix = ""},
  89. signs = true,
  90. underline = true
  91. }
  92. },
  93. sh = {
  94. active = false,
  95. -- @usage can be 'shellcheck'
  96. linter = '',
  97. -- @usage can be 'shfmt'
  98. formatter = '',
  99. autoformat = false,
  100. diagnostics = {
  101. virtual_text = {spacing = 0, prefix = ""},
  102. signs = true,
  103. underline = true
  104. }
  105. },
  106. tsserver = {
  107. active = false,
  108. -- @usage can be 'eslint'
  109. linter = '',
  110. -- @usage can be 'prettier'
  111. formatter = '',
  112. autoformat = false,
  113. diagnostics = {
  114. virtual_text = {spacing = 0, prefix = ""},
  115. signs = true,
  116. underline = true
  117. }
  118. },
  119. json = {
  120. active = false,
  121. -- @usage can be 'prettier'
  122. formatter = '',
  123. autoformat = false,
  124. diagnostics = {
  125. virtual_text = {spacing = 0, prefix = ""},
  126. signs = true,
  127. underline = true
  128. }
  129. },
  130. tailwindcss = {
  131. active = false,
  132. filetypes = {
  133. 'html', 'css', 'scss', 'javascript', 'javascriptreact',
  134. 'typescript', 'typescriptreact'
  135. }
  136. },
  137. clang = {
  138. active = false,
  139. diagnostics = {
  140. virtual_text = {spacing = 0, prefix = ""},
  141. signs = true,
  142. underline = true
  143. }
  144. },
  145. ruby = {
  146. active = false,
  147. diagnostics = {
  148. virtualtext = {spacing = 0, prefix = ""},
  149. signs = true,
  150. underline = true
  151. },
  152. filetypes = {'rb', 'erb', 'rakefile'}
  153. },
  154. go = {active = false},
  155. elixer = {active = false},
  156. vim = {active = false},
  157. yaml = {active = false},
  158. terraform = {active = false},
  159. rust = {active = false},
  160. svelte = {active = false},
  161. php = {active = false},
  162. latex = {active = false},
  163. kotlin = {active = false},
  164. html = {active = false},
  165. elm = {active = false},
  166. emmet = {active = false},
  167. graphql = {active = false},
  168. efm = {active = true},
  169. docker = {active = false},
  170. cmake = {active = false},
  171. java = {active = false},
  172. css = {
  173. active = false,
  174. formatter = '',
  175. autoformat = false,
  176. virtual_text = true
  177. }
  178. },
  179. dashboard = {
  180. custom_header = {
  181. ' _..._ ',
  182. ' .\' (_`. _ __ ___ ',
  183. ' : . : | | _ _ _ __ __ _ _ _\\ \\ / (_)_ __ ___ ',
  184. ' :) () : | | | | | | \'_ \\ / _` | \'__\\ \\ / /| | \'_ ` _ \\ ',
  185. ' `. . .\' | |__| |_| | | | | (_| | | \\ V / | | | | | | |',
  186. ' `-...-\' |_____\\__,_|_| |_|\\__,_|_| \\_/ |_|_| |_| |_|'
  187. },
  188. footer = {'chrisatmachine.com'}
  189. }
  190. }