default-config.lua 6.0 KB

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