feat(lsp): add supported languages with icons for C and C++
This commit is contained in:
parent
921c702166
commit
9c78049359
16
src/constants/language.tsx
Normal file
16
src/constants/language.tsx
Normal file
@ -0,0 +1,16 @@
|
||||
import { COriginal, CplusplusOriginal } from 'devicons-react'
|
||||
|
||||
export const SUPPORTED_LANGUAGES = [
|
||||
{
|
||||
id: "c",
|
||||
label: "C",
|
||||
icon: <COriginal size={16} aria-hidden="true" />
|
||||
},
|
||||
{
|
||||
id: "cpp",
|
||||
label: "C++",
|
||||
icon: <CplusplusOriginal size={16} aria-hidden="true" />,
|
||||
},
|
||||
] as const;
|
||||
|
||||
export type SupportedLanguage = (typeof SUPPORTED_LANGUAGES)[number]["id"];
|
Loading…
Reference in New Issue
Block a user