default-config.lua 6.4 KB

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